home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1991-12-22 | 73.1 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Banyans VINES patch data (other/banyansVINESPatchData)
| ext
| Unsupported |
1%
| dexvert
| PCP archive log (other/pcpArchiveLog)
| ext
| Unsupported |
100%
| file
| MacBinary II, inited, Tue Apr 23 08:14:25 1991, modified Sun Dec 22 06:17:48 1991, creator HyperCard, type HyperCard stack, 42496 bytes "Broadside 2.0" , at 0xa680 32174 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 42 72 6f 61 64 73 | 69 64 65 20 32 2e 30 00 |..Broads|ide 2.0.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 00 a6 00 00 | 00 7d ae a4 39 d5 a1 a5 |........|.}..9...|
|00000060| 7a 24 dc 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |z$......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 51 67 00 00 |........|....Qg..|
|00000080| 00 00 10 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |....STAK|........|
|00000090| 00 00 00 0a 00 00 a6 00 | 00 00 10 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 02 | 00 00 0a c7 00 00 00 07 |........|........|
|000000b0| 00 00 0b a9 00 00 18 ec | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 9c b3 19 d7 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 00 80 00 02 01 80 00 | 02 01 80 00 02 10 80 00 |........|........|
|000000f0| 2b a1 65 98 00 00 00 00 | 00 45 00 40 01 9b 02 40 |+.e.....|.E.@...@|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d e3 00 00 0c 20 | 01 56 02 00 00 00 00 00 |....... |.V......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 42 10 20 22 10 01 20 | 82 44 39 44 82 01 01 01 |.B. ".. |.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 6f 70 65 6e 73 | 74 61 63 6b 0d 67 6c 6f |on opens|tack.glo|
|00000690| 62 61 6c 20 53 6f 75 6e | 64 4f 6e 2c 47 61 6d 65 |bal Soun|dOn,Game|
|000006a0| 49 6e 50 72 6f 67 72 65 | 73 73 2c 42 6c 75 65 4f |InProgre|ss,BlueO|
|000006b0| 70 70 6f 6e 65 6e 74 2c | 52 65 64 4f 70 70 6f 6e |pponent,|RedOppon|
|000006c0| 65 6e 74 0d 70 75 74 20 | 66 61 6c 73 65 20 69 6e |ent.put |false in|
|000006d0| 74 6f 20 47 61 6d 65 49 | 6e 50 72 6f 67 72 65 73 |to GameI|nProgres|
|000006e0| 73 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 6e 6f |s.if the|re is no|
|000006f0| 74 20 61 20 6d 65 6e 75 | 20 22 42 72 6f 61 64 73 |t a menu| "Broads|
|00000700| 69 64 65 22 20 74 68 65 | 6e 0d 63 72 65 61 74 65 |ide" the|n.create|
|00000710| 20 6d 65 6e 75 20 22 42 | 72 6f 61 64 73 69 64 65 | menu "B|roadside|
|00000720| 22 0d 65 6e 64 20 69 66 | 0d 70 75 74 20 22 41 62 |".end if|.put "Ab|
|00000730| 6f 75 74 20 42 72 6f 61 | 64 73 69 64 65 c9 22 20 |out Broa|dside." |
|00000740| 69 6e 74 6f 20 6d 65 6e | 75 20 22 42 72 6f 61 64 |into men|u "Broad|
|00000750| 73 69 64 65 22 20 77 69 | 74 68 20 6d 65 6e 75 4d |side" wi|th menuM|
|00000760| 65 73 73 61 67 65 20 22 | 41 62 6f 75 74 22 0d 70 |essage "|About".p|
|00000770| 75 74 20 22 49 6e 73 74 | 72 75 63 74 69 6f 6e 73 |ut "Inst|ructions|
|00000780| 22 20 61 66 74 65 72 20 | 6d 65 6e 75 20 22 42 72 |" after |menu "Br|
|00000790| 6f 61 64 73 69 64 65 22 | 20 77 69 74 68 20 6d 65 |oadside"| with me|
|000007a0| 6e 75 4d 65 73 73 61 67 | 65 20 22 47 65 74 48 65 |nuMessag|e "GetHe|
|000007b0| 6c 70 22 0d 70 75 74 20 | 22 2d 2d 22 20 61 66 74 |lp".put |"--" aft|
|000007c0| 65 72 20 6d 65 6e 75 20 | 22 42 72 6f 61 64 73 69 |er menu |"Broadsi|
|000007d0| 64 65 22 0d 70 75 74 20 | 22 53 6f 75 6e 64 20 4f |de".put |"Sound O|
|000007e0| 6e 22 20 61 66 74 65 72 | 20 6d 65 6e 75 20 22 42 |n" after| menu "B|
|000007f0| 72 6f 61 64 73 69 64 65 | 22 20 77 69 74 68 20 6d |roadside|" with m|
|00000800| 65 6e 75 4d 65 73 73 61 | 67 65 20 22 54 6f 67 67 |enuMessa|ge "Togg|
|00000810| 6c 65 53 6f 75 6e 64 22 | 0d 73 65 74 20 74 68 65 |leSound"|.set the|
|00000820| 20 63 68 65 63 6b 4d 61 | 72 6b 20 6f 66 20 6d 65 | checkMa|rk of me|
|00000830| 6e 75 49 74 65 6d 20 34 | 20 6f 66 20 6d 65 6e 75 |nuItem 4| of menu|
|00000840| 20 22 42 72 6f 61 64 73 | 69 64 65 22 20 74 6f 20 | "Broads|ide" to |
|00000850| 74 72 75 65 0d 70 75 74 | 20 22 2d 2d 22 20 61 66 |true.put| "--" af|
|00000860| 74 65 72 20 6d 65 6e 75 | 20 22 42 72 6f 61 64 73 |ter menu| "Broads|
|00000870| 69 64 65 22 0d 70 75 74 | 20 22 43 6f 6d 70 75 74 |ide".put| "Comput|
|00000880| 65 72 20 4f 70 70 6f 6e | 65 6e 74 c9 22 20 61 66 |er Oppon|ent." af|
|00000890| 74 65 72 20 6d 65 6e 75 | 20 22 42 72 6f 61 64 73 |ter menu| "Broads|
|000008a0| 69 64 65 22 20 77 69 74 | 68 20 6d 65 6e 75 4d 65 |ide" wit|h menuMe|
|000008b0| 73 73 61 67 65 20 22 43 | 6f 6d 70 75 74 65 72 4f |ssage "C|omputerO|
|000008c0| 70 70 6f 6e 65 6e 74 22 | 0d 70 75 74 20 22 48 75 |pponent"|.put "Hu|
|000008d0| 6d 61 6e 20 4f 70 70 6f | 6e 65 6e 74 22 20 61 66 |man Oppo|nent" af|
|000008e0| 74 65 72 20 6d 65 6e 75 | 20 22 42 72 6f 61 64 73 |ter menu| "Broads|
|000008f0| 69 64 65 22 20 77 69 74 | 68 20 6d 65 6e 75 4d 65 |ide" wit|h menuMe|
|00000900| 73 73 61 67 65 20 22 48 | 75 6d 61 6e 4f 70 70 6f |ssage "H|umanOppo|
|00000910| 6e 65 6e 74 22 0d 73 65 | 74 20 74 68 65 20 63 68 |nent".se|t the ch|
|00000920| 65 63 6b 4d 61 72 6b 20 | 6f 66 20 6d 65 6e 75 49 |eckMark |of menuI|
|00000930| 74 65 6d 20 37 20 6f 66 | 20 6d 65 6e 75 20 22 42 |tem 7 of| menu "B|
|00000940| 72 6f 61 64 73 69 64 65 | 22 20 74 6f 20 74 72 75 |roadside|" to tru|
|00000950| 65 0d 70 75 74 20 22 48 | 75 6d 61 6e 22 20 69 6e |e.put "H|uman" in|
|00000960| 74 6f 20 42 6c 75 65 4f | 70 70 6f 6e 65 6e 74 0d |to BlueO|pponent.|
|00000970| 70 75 74 20 22 48 75 6d | 61 6e 22 20 69 6e 74 6f |put "Hum|an" into|
|00000980| 20 52 65 64 4f 70 70 6f | 6e 65 6e 74 0d 70 75 74 | RedOppo|nent.put|
|00000990| 20 74 72 75 65 20 69 6e | 74 6f 20 53 6f 75 6e 64 | true in|to Sound|
|000009a0| 4f 6e 0d 65 6e 64 20 6f | 70 65 6e 73 74 61 63 6b |On.end o|penstack|
|000009b0| 0d 0d 6f 6e 20 63 6c 6f | 73 65 73 74 61 63 6b 0d |..on clo|sestack.|
|000009c0| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 6d 65 |if there| is a me|
|000009d0| 6e 75 20 22 42 72 6f 61 | 64 73 69 64 65 22 20 74 |nu "Broa|dside" t|
|000009e0| 68 65 6e 0d 64 65 6c 65 | 74 65 20 6d 65 6e 75 20 |hen.dele|te menu |
|000009f0| 22 42 72 6f 61 64 73 69 | 64 65 22 0d 65 6e 64 20 |"Broadsi|de".end |
|00000a00| 69 66 0d 65 6e 64 20 63 | 6c 6f 73 65 73 74 61 63 |if.end c|losestac|
|00000a10| 6b 0d 0d 6f 6e 20 54 6f | 67 67 6c 65 53 6f 75 6e |k..on To|ggleSoun|
|00000a20| 64 0d 67 6c 6f 62 61 6c | 20 53 6f 75 6e 64 4f 6e |d.global| SoundOn|
|00000a30| 0d 70 75 74 20 6e 6f 74 | 28 53 6f 75 6e 64 4f 6e |.put not|(SoundOn|
|00000a40| 29 20 69 6e 74 6f 20 53 | 6f 75 6e 64 4f 6e 0d 73 |) into S|oundOn.s|
|00000a50| 65 74 20 74 68 65 20 63 | 68 65 63 6b 4d 61 72 6b |et the c|heckMark|
|00000a60| 20 6f 66 20 6d 65 6e 75 | 49 74 65 6d 20 34 20 6f | of menu|Item 4 o|
|00000a70| 66 20 6d 65 6e 75 20 22 | 42 72 6f 61 64 73 69 64 |f menu "|Broadsid|
|00000a80| 65 22 20 74 6f 20 4e 4f | 54 28 74 68 65 20 63 68 |e" to NO|T(the ch|
|00000a90| 65 63 6b 4d 61 72 6b 20 | 6f 66 20 6d 65 6e 75 49 |eckMark |of menuI|
|00000aa0| 74 65 6d 20 34 20 6f 66 | 20 6d 65 6e 75 20 22 42 |tem 4 of| menu "B|
|00000ab0| 72 6f 61 64 73 69 64 65 | 22 29 0d 65 6e 64 20 54 |roadside|").end T|
|00000ac0| 6f 67 67 6c 65 53 6f 75 | 6e 64 0d 0d 6f 6e 20 47 |oggleSou|nd..on G|
|00000ad0| 65 74 48 65 6c 70 0d 76 | 69 73 75 61 6c 20 63 68 |etHelp.v|isual ch|
|00000ae0| 65 63 6b 65 72 62 6f 61 | 72 64 0d 67 6f 20 63 64 |eckerboa|rd.go cd|
|00000af0| 20 31 20 6f 66 20 62 67 | 20 22 49 6e 73 74 72 75 | 1 of bg| "Instru|
|00000b00| 63 74 69 6f 6e 73 22 0d | 65 6e 64 20 47 65 74 48 |ctions".|end GetH|
|00000b10| 65 6c 70 0d 0d 6f 6e 20 | 41 62 6f 75 74 0d 73 68 |elp..on |About.sh|
|00000b20| 6f 77 20 62 67 20 66 6c | 64 20 22 41 62 6f 75 74 |ow bg fl|d "About|
|00000b30| 22 0d 72 65 70 65 61 74 | 20 75 6e 74 69 6c 20 74 |".repeat| until t|
|00000b40| 68 65 20 6d 6f 75 73 65 | 20 69 73 20 64 6f 77 6e |he mouse| is down|
|00000b50| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 22 |.set cur|sor to "|
|00000b60| 52 65 64 22 0d 77 61 69 | 74 20 33 30 0d 73 65 74 |Red".wai|t 30.set|
|00000b70| 20 63 75 72 73 6f 72 20 | 74 6f 20 22 42 6c 75 65 | cursor |to "Blue|
|00000b80| 22 0d 77 61 69 74 20 33 | 30 0d 65 6e 64 20 72 65 |".wait 3|0.end re|
|00000b90| 70 65 61 74 0d 68 69 64 | 65 20 62 67 20 66 6c 64 |peat.hid|e bg fld|
|00000ba0| 20 22 41 62 6f 75 74 22 | 0d 65 6e 64 20 41 62 6f | "About"|.end Abo|
|00000bb0| 75 74 0d 0d 6f 6e 20 43 | 6f 6d 70 75 74 65 72 4f |ut..on C|omputerO|
|00000bc0| 70 70 6f 6e 65 6e 74 0d | 67 6c 6f 62 61 6c 20 42 |pponent.|global B|
|00000bd0| 6c 75 65 4f 70 70 6f 6e | 65 6e 74 2c 52 65 64 4f |lueOppon|ent,RedO|
|00000be0| 70 70 6f 6e 65 6e 74 0d | 73 65 74 20 74 68 65 20 |pponent.|set the |
|00000bf0| 63 68 65 63 6b 4d 61 72 | 6b 20 6f 66 20 6d 65 6e |checkMar|k of men|
|00000c00| 75 49 74 65 6d 20 36 20 | 6f 66 20 6d 65 6e 75 20 |uItem 6 |of menu |
|00000c10| 22 42 72 6f 61 64 73 69 | 64 65 22 20 74 6f 20 74 |"Broadsi|de" to t|
|00000c20| 72 75 65 0d 73 65 74 20 | 74 68 65 20 63 68 65 63 |rue.set |the chec|
|00000c30| 6b 4d 61 72 6b 20 6f 66 | 20 6d 65 6e 75 49 74 65 |kMark of| menuIte|
|00000c40| 6d 20 37 20 6f 66 20 6d | 65 6e 75 20 22 42 72 6f |m 7 of m|enu "Bro|
|00000c50| 61 64 73 69 64 65 22 20 | 74 6f 20 66 61 6c 73 65 |adside" |to false|
|00000c60| 0d 69 66 20 74 68 65 20 | 6f 70 74 69 6f 6e 4b 65 |.if the |optionKe|
|00000c70| 79 20 69 73 20 64 6f 77 | 6e 20 74 68 65 6e 0d 61 |y is dow|n then.a|
|00000c80| 6e 73 77 65 72 20 22 57 | 68 69 63 68 20 4e 61 76 |nswer "W|hich Nav|
|00000c90| 79 20 69 73 20 74 6f 20 | 62 65 20 74 68 65 20 63 |y is to |be the c|
|00000ca0| 6f 6d 70 75 74 65 72 3f | 22 20 77 69 74 68 20 22 |omputer?|" with "|
|00000cb0| 52 65 64 22 20 6f 72 20 | 22 42 6c 75 65 22 20 6f |Red" or |"Blue" o|
|00000cc0| 72 20 22 42 6f 74 68 22 | 0d 70 75 74 20 69 74 20 |r "Both"|.put it |
|00000cd0| 69 6e 74 6f 20 61 6e 73 | 0d 65 6c 73 65 0d 61 6e |into ans|.else.an|
|00000ce0| 73 77 65 72 20 22 57 68 | 69 63 68 20 4e 61 76 79 |swer "Wh|ich Navy|
|00000cf0| 20 69 73 20 74 6f 20 62 | 65 20 74 68 65 20 63 6f | is to b|e the co|
|00000d00| 6d 70 75 74 65 72 3f 22 | 20 77 69 74 68 20 22 52 |mputer?"| with "R|
|00000d10| 65 64 22 20 6f 72 20 22 | 42 6c 75 65 22 0d 70 75 |ed" or "|Blue".pu|
|00000d20| 74 20 69 74 20 69 6e 74 | 6f 20 61 6e 73 0d 65 6e |t it int|o ans.en|
|00000d30| 64 20 69 66 0d 69 66 20 | 61 6e 73 20 3d 20 22 42 |d if.if |ans = "B|
|00000d40| 6f 74 68 22 20 74 68 65 | 6e 0d 70 75 74 20 22 43 |oth" the|n.put "C|
|00000d50| 6f 6d 70 75 74 65 72 22 | 20 69 6e 74 6f 20 52 65 |omputer"| into Re|
|00000d60| 64 4f 70 70 6f 6e 65 6e | 74 0d 70 75 74 20 22 43 |dOpponen|t.put "C|
|00000d70| 6f 6d 70 75 74 65 72 22 | 20 69 6e 74 6f 20 42 6c |omputer"| into Bl|
|00000d80| 75 65 4f 70 70 6f 6e 65 | 6e 74 0d 65 6c 73 65 20 |ueOppone|nt.else |
|00000d90| 69 66 20 61 6e 73 20 3d | 20 22 52 65 64 22 20 74 |if ans =| "Red" t|
|00000da0| 68 65 6e 0d 70 75 74 20 | 22 43 6f 6d 70 75 74 65 |hen.put |"Compute|
|00000db0| 72 22 20 69 6e 74 6f 20 | 52 65 64 4f 70 70 6f 6e |r" into |RedOppon|
|00000dc0| 65 6e 74 0d 70 75 74 20 | 22 48 75 6d 61 6e 22 20 |ent.put |"Human" |
|00000dd0| 69 6e 74 6f 20 42 6c 75 | 65 4f 70 70 6f 6e 65 6e |into Blu|eOpponen|
|00000de0| 74 0d 65 6c 73 65 0d 70 | 75 74 20 22 48 75 6d 61 |t.else.p|ut "Huma|
|00000df0| 6e 22 20 69 6e 74 6f 20 | 52 65 64 4f 70 70 6f 6e |n" into |RedOppon|
|00000e00| 65 6e 74 0d 70 75 74 20 | 22 43 6f 6d 70 75 74 65 |ent.put |"Compute|
|00000e10| 72 22 20 69 6e 74 6f 20 | 42 6c 75 65 4f 70 70 6f |r" into |BlueOppo|
|00000e20| 6e 65 6e 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |nent.end| if.end |
|00000e30| 43 6f 6d 70 75 74 65 72 | 4f 70 70 6f 6e 65 6e 74 |Computer|Opponent|
|00000e40| 0d 0d 6f 6e 20 48 75 6d | 61 6e 4f 70 70 6f 6e 65 |..on Hum|anOppone|
|00000e50| 6e 74 0d 67 6c 6f 62 61 | 6c 20 42 6c 75 65 4f 70 |nt.globa|l BlueOp|
|00000e60| 70 6f 6e 65 6e 74 2c 52 | 65 64 4f 70 70 6f 6e 65 |ponent,R|edOppone|
|00000e70| 6e 74 0d 70 75 74 20 22 | 48 75 6d 61 6e 22 20 69 |nt.put "|Human" i|
|00000e80| 6e 74 6f 20 4f 70 70 6f | 6e 65 6e 74 0d 73 65 74 |nto Oppo|nent.set|
|00000e90| 20 74 68 65 20 63 68 65 | 63 6b 4d 61 72 6b 20 6f | the che|ckMark o|
|00000ea0| 66 20 6d 65 6e 75 49 74 | 65 6d 20 36 20 6f 66 20 |f menuIt|em 6 of |
|00000eb0| 6d 65 6e 75 20 22 42 72 | 6f 61 64 73 69 64 65 22 |menu "Br|oadside"|
|00000ec0| 20 74 6f 20 66 61 6c 73 | 65 0d 73 65 74 20 74 68 | to fals|e.set th|
|00000ed0| 65 20 63 68 65 63 6b 4d | 61 72 6b 20 6f 66 20 6d |e checkM|ark of m|
|00000ee0| 65 6e 75 49 74 65 6d 20 | 37 20 6f 66 20 6d 65 6e |enuItem |7 of men|
|00000ef0| 75 20 22 42 72 6f 61 64 | 73 69 64 65 22 20 74 6f |u "Broad|side" to|
|00000f00| 20 74 72 75 65 0d 70 75 | 74 20 22 48 75 6d 61 6e | true.pu|t "Human|
|00000f10| 22 20 69 6e 74 6f 20 42 | 6c 75 65 4f 70 70 6f 6e |" into B|lueOppon|
|00000f20| 65 6e 74 0d 70 75 74 20 | 22 48 75 6d 61 6e 22 20 |ent.put |"Human" |
|00000f30| 69 6e 74 6f 20 52 65 64 | 4f 70 70 6f 6e 65 6e 74 |into Red|Opponent|
|00000f40| 0d 65 6e 64 20 48 75 6d | 61 6e 4f 70 70 6f 6e 65 |.end Hum|anOppone|
|00000f50| 6e 74 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |nt......|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001080| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00001090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010a0| 00 03 e8 2f 00 04 03 05 | 00 00 d4 c7 00 03 f2 a9 |.../....|........|
|000010b0| 00 05 22 20 00 05 2c e3 | 00 02 ec a8 00 04 50 ad |.." ..,.|......P.|
|000010c0| 00 04 a2 c1 00 04 32 8b | 00 04 63 06 00 04 9d 9e |......2.|..c.....|
|000010d0| 00 04 c2 dd 00 05 08 72 | 00 00 00 00 00 00 00 00 |.......r|........|
|000010e0| 00 00 90 ec 00 00 94 b5 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001280| 00 00 00 80 4c 49 53 54 | 00 00 18 ec 00 00 00 00 |....LIST|........|
|00001290| 00 00 00 01 00 00 08 00 | 00 00 00 07 00 5c 00 02 |........|.....\..|
|000012a0| 00 16 00 03 a0 00 03 3d | 00 00 00 07 00 00 00 00 |.......=|........|
|000012b0| 00 00 19 b5 00 07 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001300| 00 00 08 00 50 41 47 45 | 00 00 19 b5 00 00 00 00 |....PAGE|........|
|00001310| 00 00 18 ec 5a 94 8b 0b | 00 00 0b a9 60 09 60 10 |....Z...|....`.`.|
|00001320| 08 c6 c2 11 0b 02 21 42 | 00 08 04 0a 28 44 09 2a |......!B|....(D.*|
|00001330| 22 00 d6 87 04 94 20 22 | 42 b2 20 20 34 00 30 10 |"..... "|B. 4.0.|
|00001340| 81 00 00 90 22 01 40 00 | 08 81 70 b8 14 8e d6 89 |....".@.|..p.....|
|00001350| 03 81 d8 26 40 50 24 24 | 21 00 08 58 20 51 60 10 |...&@P$$|!..X Q`.|
|00001360| 09 c9 07 2c 03 10 04 ac | 0b 20 44 48 40 32 06 80 |...,....|. DH@2..|
|00001370| 08 00 ca c0 00 00 09 05 | 60 30 60 b3 0a 36 3e da |........|`0`..6>.|
|00001380| 09 77 6d a5 64 0e 4d b6 | b8 fc d2 be d8 c8 9f e7 |.wm.d.M.|........|
|00001390| fa dc 3f f3 9e d1 b0 1e | b6 05 80 b8 3b 6c 5a 9f |..?.....|....;lZ.|
|000013a0| 11 0a c0 f3 9b 99 5e b8 | d5 1b ac b4 d7 f5 81 74 |......^.|.......t|
|000013b0| 74 4a a7 fe de 84 89 9b | 8c ec 71 04 25 79 6f bb |tJ......|..q.%yo.|
|000013c0| 95 de d2 89 2d 59 46 71 | 85 eb 48 af ce c6 b3 90 |....-YFq|..H.....|
|000013d0| 00 00 11 8b 20 44 02 04 | 48 50 6a 40 00 31 02 48 |.... D..|HPj@.1.H|
|000013e0| 27 88 04 a0 29 0d 60 c2 | 48 c0 04 a5 ca 5d 23 d0 |'...).`.|H....]#.|
|000013f0| 8c 09 3a 9d 4a b2 82 19 | a1 18 72 0d 10 28 48 f1 |..:.J...|..r..(H.|
|00001400| 0c 89 30 38 64 0a 0c 81 | 12 24 06 e4 10 02 5c 00 |..08d...|.$....\.|
|00001410| 90 35 c5 ab 65 00 20 19 | 41 49 42 54 10 2a 88 89 |.5..e. .|AIBT.*..|
|00001420| 00 4c 61 08 54 0e a0 58 | 08 ce 5a 20 00 00 12 06 |.La.T..X|..Z ....|
|00001430| 20 24 22 00 00 01 4c 40 | 29 91 68 00 54 00 01 00 | $"...L@|).h.T...|
|00001440| 11 68 02 84 00 45 22 a1 | 1a 42 0b 83 86 01 10 0c |.h...E".|.B......|
|00001450| 00 00 80 3b e3 78 38 88 | 04 28 c0 c9 0a 49 40 38 |...;.x8.|.(...I@8|
|00001460| 61 08 08 24 15 04 15 44 | 00 60 40 01 44 00 4c 82 |a..$...D|.`@.D.L.|
|00001470| 5a a6 11 10 60 00 43 07 | 02 22 c4 19 81 09 c0 01 |Z...`.C.|."......|
|00001480| 18 02 84 81 08 0e 40 10 | 00 00 10 c1 20 34 d4 19 |......@.|.... 4..|
|00001490| c8 3a 50 58 28 52 64 02 | b1 4a 02 37 39 9c 96 88 |.:PX(Rd.|.J.79...|
|000014a0| 58 c5 92 c5 0b f8 b2 42 | f6 2b 31 d5 24 f2 10 a2 |X......B|.+1.$...|
|000014b0| a0 27 68 cf 90 06 c2 18 | 50 89 11 da 45 18 9c a6 |.'h.....|P...E...|
|000014c0| 17 a4 d7 f4 3d 66 81 f3 | e0 64 59 92 54 6b 72 09 |....=f..|.dY.Tkr.|
|000014d0| a8 44 40 13 10 88 04 39 | 8a 40 82 48 5c 21 12 cb |.D@....9|.@.H\!..|
|000014e0| 8c 0d 82 50 00 00 14 dd | 20 15 60 85 4c 14 48 10 |...P....| .`.L.H.|
|000014f0| 0c 18 a0 88 56 24 0e a0 | 19 80 5a f8 00 64 96 cd |....V$..|..Z..d..|
|00001500| 8a c0 23 10 56 05 30 56 | 81 82 82 50 81 8c 78 ed |..#.V.0V|...P..x.|
|00001510| 10 0e 42 03 00 88 34 f4 | 60 09 39 80 9d 00 54 a0 |..B...4.|`.9...T.|
|00001520| 44 02 0c 10 10 b4 88 80 | 4d 69 16 4a 41 c4 22 15 |D.......|Mi.JA.".|
|00001530| 02 ca 84 2d 13 24 4e 88 | 18 02 15 cb d8 48 10 10 |...-.$N.|.....H..|
|00001540| 00 00 15 72 20 2a 02 84 | 4a 50 60 08 8b 19 22 a9 |...r *..|JP`...".|
|00001550| 8c 60 00 20 38 f0 70 42 | 48 e4 46 84 8a 40 2b 02 |.`. 8.pB|H.F..@+.|
|00001560| 3e 15 80 24 14 16 86 18 | 80 80 68 dd 00 0c 40 81 |>..$....|..h...@.|
|00001570| 06 48 2b 10 72 89 38 00 | 04 31 43 14 40 02 1c 42 |.H+.r.8.|.1C.@..B|
|00001580| 85 0c 45 c9 35 80 76 10 | 49 98 72 15 03 52 40 09 |..E.5.v.|I.r..R@.|
|00001590| 00 40 61 00 14 8c 80 09 | 43 a3 d0 10 00 00 00 00 |.@a.....|C.......|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b00| 00 00 43 00 42 4b 47 44 | 00 00 0a c7 00 00 00 00 |..C.BKGD|........|
|00001b10| 00 00 0e a8 40 00 00 00 | 00 00 00 01 00 00 08 2f |....@...|......./|
|00001b20| 00 00 08 2f 00 20 00 23 | 00 00 1f 58 00 00 00 00 |.../. .#|...X....|
|00001b30| 00 00 00 26 00 01 01 00 | 00 46 00 69 00 6e 00 88 |...&....|.F.i.n..|
|00001b40| 80 00 00 00 0b b9 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|00001b50| 42 6c 75 65 00 00 00 00 | 00 26 00 02 01 00 00 46 |Blue....|.&.....F|
|00001b60| 00 c3 00 6e 00 e2 80 00 | 00 00 03 e9 00 01 00 00 |...n....|........|
|00001b70| 00 0c 00 00 00 10 42 6c | 75 65 00 00 00 00 00 26 |......Bl|ue.....&|
|00001b80| 00 03 01 80 ff ec ff f1 | 00 14 00 10 80 00 00 00 |........|........|
|00001b90| 13 88 00 01 00 00 00 0c | 00 00 00 10 42 6c 75 65 |........|....Blue|
|00001ba0| 00 00 00 00 00 26 00 04 | 01 80 ff ec ff f1 00 14 |.....&..|........|
|00001bb0| 00 10 80 00 00 00 13 88 | 00 01 00 00 00 0c 00 00 |........|........|
|00001bc0| 00 10 42 6c 75 65 00 00 | 00 00 00 26 00 05 01 80 |..Blue..|...&....|
|00001bd0| ff ec ff f1 00 14 00 10 | 80 00 00 00 13 88 00 01 |........|........|
|00001be0| 00 00 00 0c 00 00 00 10 | 42 6c 75 65 00 00 00 00 |........|Blue....|
|00001bf0| 00 26 00 06 01 80 ff ec | ff f1 00 14 00 10 80 00 |.&......|........|
|00001c00| 00 00 13 88 00 01 00 00 | 00 0c 00 00 00 10 42 6c |........|......Bl|
|00001c10| 75 65 00 00 00 00 00 26 | 00 07 01 80 ff ec ff f1 |ue.....&|........|
|00001c20| 00 14 00 10 80 00 00 00 | 13 88 00 01 00 00 00 0c |........|........|
|00001c30| 00 00 00 10 42 6c 75 65 | 00 00 00 00 00 26 00 08 |....Blue|.....&..|
|00001c40| 01 80 ff ec ff f1 00 14 | 00 10 80 00 00 00 13 88 |........|........|
|00001c50| 00 01 00 00 00 0c 00 00 | 00 10 42 6c 75 65 00 00 |........|..Blue..|
|00001c60| 00 00 00 26 00 09 01 80 | ff ec ff f1 00 14 00 10 |...&....|........|
|00001c70| 80 00 00 00 13 88 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|00001c80| 42 6c 75 65 00 00 00 00 | 00 26 00 0a 01 80 ff ec |Blue....|.&......|
|00001c90| ff f1 00 14 00 10 80 00 | 00 00 13 88 00 01 00 00 |........|........|
|00001ca0| 00 0c 00 00 00 10 42 6c | 75 65 00 00 00 00 00 24 |......Bl|ue.....$|
|00001cb0| 00 0b 01 80 ff ec ff f1 | 00 14 00 10 80 00 00 00 |........|........|
|00001cc0| 13 88 00 01 00 00 00 0c | 00 00 00 10 52 65 64 00 |........|....Red.|
|00001cd0| 00 00 00 24 00 0c 01 80 | ff ec ff f1 00 14 00 10 |...$....|........|
|00001ce0| 80 00 00 00 13 88 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|00001cf0| 52 65 64 00 00 00 00 24 | 00 0d 01 00 00 28 00 87 |Red....$|.....(..|
|00001d00| 00 50 00 a6 80 00 00 00 | 0f a3 00 01 00 00 00 0c |.P......|........|
|00001d10| 00 00 00 10 52 65 64 00 | 00 00 00 24 00 0e 01 80 |....Red.|...$....|
|00001d20| ff ec ff f1 00 14 00 10 | 80 00 00 00 13 88 00 01 |........|........|
|00001d30| 00 00 00 0c 00 00 00 10 | 52 65 64 00 00 00 00 24 |........|Red....$|
|00001d40| 00 0f 01 80 ff ec ff f1 | 00 14 00 10 80 00 00 00 |........|........|
|00001d50| 13 88 00 01 00 00 00 0c | 00 00 00 10 52 65 64 00 |........|....Red.|
|00001d60| 00 00 00 24 00 10 01 00 | 00 28 00 ff 00 50 01 1e |...$....|.(...P..|
|00001d70| 80 00 00 00 0f a3 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|00001d80| 52 65 64 00 00 00 00 24 | 00 11 01 80 ff ec ff f1 |Red....$|........|
|00001d90| 00 14 00 10 80 00 00 00 | 13 88 00 01 00 00 00 0c |........|........|
|00001da0| 00 00 00 10 52 65 64 00 | 00 00 00 24 00 12 01 00 |....Red.|...$....|
|00001db0| 01 18 01 3b 01 40 01 5a | 80 00 00 00 03 ea 00 01 |...;.@.Z|........|
|00001dc0| 00 00 00 0c 00 00 00 10 | 52 65 64 00 00 00 00 24 |........|Red....$|
|00001dd0| 00 13 01 80 ff ec ff f1 | 00 14 00 10 80 00 00 00 |........|........|
|00001de0| 13 88 00 01 00 00 00 0c | 00 00 00 10 52 65 64 00 |........|....Red.|
|00001df0| 00 00 00 24 00 14 01 00 | 01 18 01 77 01 40 01 96 |...$....|...w.@..|
|00001e00| 80 00 00 00 03 ea 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|00001e10| 52 65 64 00 00 00 00 2a | 00 17 01 80 ff ef ff e7 |Red....*|........|
|00001e20| 00 11 00 19 10 00 00 00 | 13 88 00 01 00 00 00 0c |........|........|
|00001e30| 00 00 00 10 4d 65 72 63 | 68 61 6e 74 31 00 00 00 |....Merc|hant1...|
|00001e40| 00 2a 00 18 01 80 ff ef | ff e7 00 11 00 19 10 00 |.*......|........|
|00001e50| 00 00 13 88 00 01 00 00 | 00 0c 00 00 00 10 4d 65 |........|......Me|
|00001e60| 72 63 68 61 6e 74 32 00 | 00 00 00 2a 00 19 01 80 |rchant2.|...*....|
|00001e70| ff ef ff e7 00 11 00 19 | 10 00 00 00 13 88 00 01 |........|........|
|00001e80| 00 00 00 0c 00 00 00 10 | 4d 65 72 63 68 61 6e 74 |........|Merchant|
|00001e90| 33 00 00 00 00 2a 00 1a | 01 80 ff ef ff e7 00 11 |3....*..|........|
|00001ea0| 00 19 10 00 00 00 13 88 | 00 01 00 00 00 0c 00 00 |........|........|
|00001eb0| 00 10 4d 65 72 63 68 61 | 6e 74 34 00 00 00 00 22 |..Mercha|nt4...."|
|00001ec0| 00 1c 01 00 00 28 01 b4 | 01 56 02 00 00 00 00 00 |.....(..|.V......|
|00001ed0| 00 00 00 01 00 00 00 0c | 00 00 00 10 00 00 00 00 |........|........|
|00001ee0| 00 22 00 1d 01 00 00 28 | 00 00 01 56 00 48 00 00 |.".....(|...V.H..|
|00001ef0| 00 00 00 00 00 01 00 00 | 00 0c 00 00 00 10 00 00 |........|........|
|00001f00| 00 00 00 22 00 1e 01 00 | 00 00 00 47 00 28 01 b5 |..."....|...G.(..|
|00001f10| 00 00 00 00 00 00 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|00001f20| 00 00 00 00 00 28 00 1f | 01 80 00 2f 00 fe 00 4a |.....(..|.../...J|
|00001f30| 01 1f 10 00 00 00 03 fa | 00 01 00 00 00 0c 00 00 |........|........|
|00001f40| 00 10 43 6f 75 72 73 65 | 00 00 00 00 00 2a 00 20 |..Course|.....*. |
|00001f50| 02 b5 00 46 00 02 00 bc | 00 36 00 00 00 00 00 00 |...F....|.6......|
|00001f60| 00 00 00 03 00 0c 00 00 | 00 10 53 61 76 65 64 47 |........|..SavedG|
|00001f70| 61 6d 65 00 00 00 00 a2 | 00 21 01 00 01 3c 00 07 |ame.....|.!...<..|
|00001f80| 01 4d 00 40 90 03 00 00 | 00 00 00 01 00 00 00 0c |.M.@....|........|
|00001f90| 00 00 00 10 50 61 75 73 | 65 00 00 6f 6e 20 6d 6f |....Paus|e..on mo|
|00001fa0| 75 73 65 55 70 0d 61 6e | 73 77 65 72 20 22 54 68 |useUp.an|swer "Th|
|00001fb0| 65 20 67 61 6d 65 20 69 | 73 20 61 6c 72 65 61 64 |e game i|s alread|
|00001fc0| 79 20 50 61 75 73 65 64 | 2e 22 20 26 20 72 65 74 |y Paused|." & ret|
|00001fd0| 75 72 6e 20 26 20 22 43 | 6c 69 63 6b 20 74 68 65 |urn & "C|lick the|
|00001fe0| 20 d2 47 4f d3 20 62 75 | 74 74 6f 6e 20 74 6f 20 | .GO. bu|tton to |
|00001ff0| 73 74 61 72 74 20 74 68 | 65 20 67 61 6d 65 2e 22 |start th|e game."|
|00002000| 20 77 69 74 68 20 22 4f | 4b 22 0d 65 6e 64 20 6d | with "O|K".end m|
|00002010| 6f 75 73 65 55 70 00 00 | 1a 2a 00 22 01 00 01 3c |ouseUp..|.*."...<|
|00002020| 01 d3 01 4d 01 f0 b0 03 | 00 00 00 00 00 01 00 00 |...M....|........|
|00002030| 00 0c 00 00 00 10 47 4f | 00 00 2d 2d 49 63 6f 6e |......GO|..--Icon|
|00002040| 20 6e 61 6d 65 73 20 61 | 72 65 20 3c 64 69 72 65 | names a|re <dire|
|00002050| 63 74 69 6f 6e 3e 20 3c | 6e 75 6d 20 6f 66 20 6d |ction> <|num of m|
|00002060| 61 73 74 73 3e 20 22 4d | 61 73 74 22 0d 2d 2d 49 |asts> "M|ast".--I|
|00002070| 63 6f 6e 20 69 64 27 73 | 20 61 72 65 3a 0d 2d 2d |con id's| are:.--|
|00002080| 20 20 20 4e 20 3d 20 31 | 30 30 30 20 2b 20 6e 75 | N = 1|000 + nu|
|00002090| 6d 20 6f 66 20 6d 61 73 | 74 73 0d 2d 2d 20 20 20 |m of mas|ts.-- |
|000020a0| 45 20 3d 20 32 30 30 30 | 20 20 20 20 22 20 20 20 |E = 2000| " |
|000020b0| 20 20 20 22 0d 2d 2d 20 | 20 20 53 20 3d 20 33 30 | ".-- | S = 30|
|000020c0| 30 30 20 20 20 20 22 20 | 20 20 20 20 20 22 0d 2d |00 " | ".-|
|000020d0| 2d 20 20 20 57 20 3d 20 | 34 30 30 30 20 20 20 20 |- W = |4000 |
|000020e0| 22 20 20 20 20 20 20 22 | 0d 0d 2d 2d 42 6f 74 68 |" "|..--Both|
|000020f0| 20 73 68 69 70 73 20 73 | 68 6f 75 6c 64 20 66 69 | ships s|hould fi|
|00002100| 72 65 20 69 66 20 62 6f | 74 68 20 61 72 65 20 61 |re if bo|th are a|
|00002110| 74 20 74 68 65 20 62 72 | 6f 61 64 73 69 64 65 2e |t the br|oadside.|
|00002120| 0d 0d 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 67 6c 6f |..on mou|seUp.glo|
|00002130| 62 61 6c 20 74 68 65 53 | 68 69 70 2c 74 68 65 43 |bal theS|hip,theC|
|00002140| 6f 75 72 73 65 2c 52 65 | 64 53 68 69 70 73 2c 42 |ourse,Re|dShips,B|
|00002150| 6c 75 65 53 68 69 70 73 | 2c 4d 65 72 63 68 61 6e |lueShips|,Merchan|
|00002160| 74 53 68 69 70 73 2c 53 | 6f 75 6e 64 4f 6e 2c 54 |tShips,S|oundOn,T|
|00002170| 75 72 6e 0d 67 6c 6f 62 | 61 6c 20 47 61 6d 65 49 |urn.glob|al GameI|
|00002180| 6e 50 72 6f 67 72 65 73 | 73 2c 50 61 75 73 65 47 |nProgres|s,PauseG|
|00002190| 61 6d 65 2c 4f 70 70 6f | 6e 65 6e 74 0d 68 69 64 |ame,Oppo|nent.hid|
|000021a0| 65 20 6d 65 6e 75 62 61 | 72 0d 68 69 64 65 20 6d |e menuba|r.hide m|
|000021b0| 73 67 0d 69 66 20 53 6f | 75 6e 64 4f 6e 20 74 68 |sg.if So|undOn th|
|000021c0| 65 6e 20 70 6c 61 79 20 | 22 66 6c 75 74 65 22 20 |en play |"flute" |
|000021d0| 74 65 6d 70 6f 20 31 35 | 30 20 22 63 36 73 20 66 |tempo 15|0 "c6s f|
|000021e0| 36 68 20 63 36 71 22 0d | 70 75 74 20 66 61 6c 73 |6h c6q".|put fals|
|000021f0| 65 20 69 6e 74 6f 20 50 | 61 75 73 65 47 61 6d 65 |e into P|auseGame|
|00002200| 0d 70 75 74 20 74 72 75 | 65 20 69 6e 74 6f 20 52 |.put tru|e into R|
|00002210| 65 64 6f 0d 69 66 20 62 | 67 20 66 6c 64 20 22 53 |edo.if b|g fld "S|
|00002220| 61 76 65 64 47 61 6d 65 | 22 20 ad 20 65 6d 70 74 |avedGame|" . empt|
|00002230| 79 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 53 |y then.a|nswer "S|
|00002240| 74 61 72 74 20 6e 65 77 | 20 67 61 6d 65 20 6f 72 |tart new| game or|
|00002250| 20 66 69 6e 69 73 68 20 | 63 75 72 72 65 6e 74 20 | finish |current |
|00002260| 67 61 6d 65 3f 22 20 77 | 69 74 68 20 22 4e 65 77 |game?" w|ith "New|
|00002270| 22 20 6f 72 20 22 43 75 | 72 72 65 6e 74 22 0d 69 |" or "Cu|rrent".i|
|00002280| 66 20 69 74 20 3d 20 22 | 43 75 72 72 65 6e 74 22 |f it = "|Current"|
|00002290| 20 74 68 65 6e 20 70 75 | 74 20 66 61 6c 73 65 20 | then pu|t false |
|000022a0| 69 6e 74 6f 20 52 65 64 | 6f 0d 65 6e 64 20 69 66 |into Red|o.end if|
|000022b0| 0d 69 66 20 52 65 64 6f | 20 74 68 65 6e 0d 70 75 |.if Redo| then.pu|
|000022c0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 62 67 20 |t empty |into bg |
|000022d0| 66 6c 64 20 22 53 61 76 | 65 64 47 61 6d 65 22 0d |fld "Sav|edGame".|
|000022e0| 70 75 74 20 22 52 65 64 | 22 20 69 6e 74 6f 20 54 |put "Red|" into T|
|000022f0| 75 72 6e 0d 70 75 74 20 | 31 30 20 69 6e 74 6f 20 |urn.put |10 into |
|00002300| 52 65 64 53 68 69 70 73 | 0d 70 75 74 20 31 30 20 |RedShips|.put 10 |
|00002310| 69 6e 74 6f 20 42 6c 75 | 65 53 68 69 70 73 0d 70 |into Blu|eShips.p|
|00002320| 75 74 20 34 20 69 6e 74 | 6f 20 4d 65 72 63 68 61 |ut 4 int|o Mercha|
|00002330| 6e 74 53 68 69 70 73 0d | 41 72 72 61 6e 67 65 53 |ntShips.|ArrangeS|
|00002340| 68 69 70 73 0d 65 6c 73 | 65 0d 70 75 74 20 6c 69 |hips.els|e.put li|
|00002350| 6e 65 20 31 20 6f 66 20 | 62 67 20 66 6c 64 20 22 |ne 1 of |bg fld "|
|00002360| 53 61 76 65 64 47 61 6d | 65 22 20 69 6e 74 6f 20 |SavedGam|e" into |
|00002370| 54 75 72 6e 0d 70 75 74 | 20 6c 69 6e 65 20 32 20 |Turn.put| line 2 |
|00002380| 6f 66 20 62 67 20 66 6c | 64 20 22 53 61 76 65 64 |of bg fl|d "Saved|
|00002390| 47 61 6d 65 22 20 69 6e | 74 6f 20 52 65 64 53 68 |Game" in|to RedSh|
|000023a0| 69 70 73 0d 70 75 74 20 | 6c 69 6e 65 20 33 20 6f |ips.put |line 3 o|
|000023b0| 66 20 62 67 20 66 6c 64 | 20 22 53 61 76 65 64 47 |f bg fld| "SavedG|
|000023c0| 61 6d 65 22 20 69 6e 74 | 6f 20 42 6c 75 65 53 68 |ame" int|o BlueSh|
|000023d0| 69 70 73 0d 70 75 74 20 | 6c 69 6e 65 20 34 20 6f |ips.put |line 4 o|
|000023e0| 66 20 62 67 20 66 6c 64 | 20 22 53 61 76 65 64 47 |f bg fld| "SavedG|
|000023f0| 61 6d 65 22 20 69 6e 74 | 6f 20 4d 65 72 63 68 61 |ame" int|o Mercha|
|00002400| 6e 74 53 68 69 70 73 0d | 65 6e 64 20 69 66 0d 0d |ntShips.|end if..|
|00002410| 4d 61 69 6e 47 61 6d 65 | 0d 0d 69 66 20 50 61 75 |MainGame|..if Pau|
|00002420| 73 65 47 61 6d 65 20 74 | 68 65 6e 0d 73 65 74 20 |seGame t|hen.set |
|00002430| 74 68 65 20 68 69 6c 69 | 74 65 20 6f 66 20 62 67 |the hili|te of bg|
|00002440| 20 62 74 6e 20 22 50 61 | 75 73 65 22 20 74 6f 20 | btn "Pa|use" to |
|00002450| 74 72 75 65 0d 70 75 74 | 20 54 75 72 6e 20 26 20 |true.put| Turn & |
|00002460| 72 65 74 75 72 6e 20 69 | 6e 74 6f 20 62 67 20 66 |return i|nto bg f|
|00002470| 6c 64 20 22 53 61 76 65 | 64 47 61 6d 65 22 0d 70 |ld "Save|dGame".p|
|00002480| 75 74 20 52 65 64 53 68 | 69 70 73 20 26 20 72 65 |ut RedSh|ips & re|
|00002490| 74 75 72 6e 20 61 66 74 | 65 72 20 62 67 20 66 6c |turn aft|er bg fl|
|000024a0| 64 20 22 53 61 76 65 64 | 47 61 6d 65 22 0d 70 75 |d "Saved|Game".pu|
|000024b0| 74 20 42 6c 75 65 53 68 | 69 70 73 20 26 20 72 65 |t BlueSh|ips & re|
|000024c0| 74 75 72 6e 20 61 66 74 | 65 72 20 62 67 20 66 6c |turn aft|er bg fl|
|000024d0| 64 20 22 53 61 76 65 64 | 47 61 6d 65 22 0d 70 75 |d "Saved|Game".pu|
|000024e0| 74 20 4d 65 72 63 68 61 | 6e 74 53 68 69 70 73 20 |t Mercha|ntShips |
|000024f0| 61 66 74 65 72 20 62 67 | 20 66 6c 64 20 22 53 61 |after bg| fld "Sa|
|00002500| 76 65 64 47 61 6d 65 22 | 0d 73 65 74 20 74 68 65 |vedGame"|.set the|
|00002510| 20 68 69 6c 69 74 65 20 | 6f 66 20 62 67 20 62 74 | hilite |of bg bt|
|00002520| 6e 20 22 50 61 75 73 65 | 22 20 74 6f 20 66 61 6c |n "Pause|" to fal|
|00002530| 73 65 0d 65 6c 73 65 0d | 70 75 74 20 65 6d 70 74 |se.else.|put empt|
|00002540| 79 20 69 6e 74 6f 20 62 | 67 20 66 6c 64 20 22 53 |y into b|g fld "S|
|00002550| 61 76 65 64 47 61 6d 65 | 22 0d 65 6e 64 20 69 66 |avedGame|".end if|
|00002560| 0d 73 68 6f 77 20 6d 65 | 6e 75 62 61 72 0d 65 6e |.show me|nubar.en|
|00002570| 64 20 6d 6f 75 73 65 55 | 70 0d 0d 6f 6e 20 4d 61 |d mouseU|p..on Ma|
|00002580| 69 6e 47 61 6d 65 0d 67 | 6c 6f 62 61 6c 20 74 68 |inGame.g|lobal th|
|00002590| 65 53 68 69 70 2c 74 68 | 65 43 6f 75 72 73 65 2c |eShip,th|eCourse,|
|000025a0| 52 65 64 53 68 69 70 73 | 2c 42 6c 75 65 53 68 69 |RedShips|,BlueShi|
|000025b0| 70 73 2c 4d 65 72 63 68 | 61 6e 74 53 68 69 70 73 |ps,Merch|antShips|
|000025c0| 2c 53 6f 75 6e 64 4f 6e | 2c 54 75 72 6e 0d 67 6c |,SoundOn|,Turn.gl|
|000025d0| 6f 62 61 6c 20 47 61 6d | 65 49 6e 50 72 6f 67 72 |obal Gam|eInProgr|
|000025e0| 65 73 73 2c 50 61 75 73 | 65 47 61 6d 65 2c 42 6c |ess,Paus|eGame,Bl|
|000025f0| 75 65 4f 70 70 6f 6e 65 | 6e 74 2c 52 65 64 4f 70 |ueOppone|nt,RedOp|
|00002600| 70 6f 6e 65 6e 74 0d 72 | 65 70 65 61 74 20 75 6e |ponent.r|epeat un|
|00002610| 74 69 6c 20 52 65 64 57 | 6f 6e 28 29 20 6f 72 20 |til RedW|on() or |
|00002620| 42 6c 75 65 57 6f 6e 28 | 29 20 6f 72 20 50 61 75 |BlueWon(|) or Pau|
|00002630| 73 65 47 61 6d 65 0d 69 | 66 20 54 75 72 6e 20 3d |seGame.i|f Turn =|
|00002640| 20 22 52 65 64 22 20 74 | 68 65 6e 20 20 2d 2d 52 | "Red" t|hen --R|
|00002650| 45 44 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |ED.set c|ursor to|
|00002660| 20 22 52 65 64 22 0d 69 | 66 20 52 65 64 4f 70 70 | "Red".i|f RedOpp|
|00002670| 6f 6e 65 6e 74 20 3d 20 | 22 48 75 6d 61 6e 22 20 |onent = |"Human" |
|00002680| 74 68 65 6e 0d 70 75 74 | 20 47 65 74 53 68 69 70 |then.put| GetShip|
|00002690| 28 31 31 2c 32 30 29 20 | 69 6e 74 6f 20 74 68 65 |(11,20) |into the|
|000026a0| 53 68 69 70 0d 69 66 20 | 6e 6f 74 20 50 61 75 73 |Ship.if |not Paus|
|000026b0| 65 47 61 6d 65 20 74 68 | 65 6e 0d 70 75 74 20 50 |eGame th|en.put P|
|000026c0| 6c 6f 74 43 6f 75 72 73 | 65 28 29 20 69 6e 74 6f |lotCours|e() into|
|000026d0| 20 74 68 65 43 6f 75 72 | 73 65 0d 4d 6f 76 65 53 | theCour|se.MoveS|
|000026e0| 68 69 70 0d 70 75 74 20 | 46 69 72 65 28 31 2c 31 |hip.put |Fire(1,1|
|000026f0| 30 29 20 69 6e 74 6f 20 | 48 69 74 53 68 69 70 73 |0) into |HitShips|
|00002700| 0d 45 78 70 6c 6f 64 65 | 20 48 69 74 53 68 69 70 |.Explode| HitShip|
|00002710| 73 2c 54 75 72 6e 0d 69 | 66 20 74 68 65 20 6e 75 |s,Turn.i|f the nu|
|00002720| 6d 62 65 72 20 6f 66 20 | 69 74 65 6d 73 20 6f 66 |mber of |items of|
|00002730| 20 48 69 74 53 68 69 70 | 73 20 3e 20 30 20 74 68 | HitShip|s > 0 th|
|00002740| 65 6e 0d 52 65 74 75 72 | 6e 46 69 72 65 20 48 69 |en.Retur|nFire Hi|
|00002750| 74 53 68 69 70 73 2c 54 | 75 72 6e 0d 65 6e 64 20 |tShips,T|urn.end |
|00002760| 69 66 0d 70 75 74 20 22 | 42 6c 75 65 22 20 69 6e |if.put "|Blue" in|
|00002770| 74 6f 20 54 75 72 6e 0d | 65 6e 64 20 69 66 0d 65 |to Turn.|end if.e|
|00002780| 6c 73 65 0d 43 6f 6d 70 | 75 74 65 72 4d 6f 76 65 |lse.Comp|uterMove|
|00002790| 20 54 75 72 6e 2c 31 31 | 2c 32 30 0d 70 75 74 20 | Turn,11|,20.put |
|000027a0| 22 42 6c 75 65 22 20 69 | 6e 74 6f 20 54 75 72 6e |"Blue" i|nto Turn|
|000027b0| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 20 20 2d 2d |.end if.|else --|
|000027c0| 42 4c 55 45 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |BLUE.set| cursor |
|000027d0| 74 6f 20 22 42 6c 75 65 | 22 0d 69 66 20 42 6c 75 |to "Blue|".if Blu|
|000027e0| 65 4f 70 70 6f 6e 65 6e | 74 20 3d 20 22 48 75 6d |eOpponen|t = "Hum|
|000027f0| 61 6e 22 20 74 68 65 6e | 0d 70 75 74 20 47 65 74 |an" then|.put Get|
|00002800| 53 68 69 70 28 31 2c 31 | 30 29 20 69 6e 74 6f 20 |Ship(1,1|0) into |
|00002810| 74 68 65 53 68 69 70 0d | 69 66 20 6e 6f 74 20 50 |theShip.|if not P|
|00002820| 61 75 73 65 47 61 6d 65 | 20 74 68 65 6e 0d 70 75 |auseGame| then.pu|
|00002830| 74 20 50 6c 6f 74 43 6f | 75 72 73 65 28 29 20 69 |t PlotCo|urse() i|
|00002840| 6e 74 6f 20 74 68 65 43 | 6f 75 72 73 65 0d 4d 6f |nto theC|ourse.Mo|
|00002850| 76 65 53 68 69 70 0d 70 | 75 74 20 46 69 72 65 28 |veShip.p|ut Fire(|
|00002860| 31 31 2c 32 30 29 20 69 | 6e 74 6f 20 48 69 74 53 |11,20) i|nto HitS|
|00002870| 68 69 70 73 0d 45 78 70 | 6c 6f 64 65 20 48 69 74 |hips.Exp|lode Hit|
|00002880| 53 68 69 70 73 2c 54 75 | 72 6e 0d 69 66 20 74 68 |Ships,Tu|rn.if th|
|00002890| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 69 74 65 6d |e number| of item|
|000028a0| 73 20 6f 66 20 48 69 74 | 53 68 69 70 73 20 3e 20 |s of Hit|Ships > |
|000028b0| 30 20 74 68 65 6e 0d 52 | 65 74 75 72 6e 46 69 72 |0 then.R|eturnFir|
|000028c0| 65 20 48 69 74 53 68 69 | 70 73 2c 54 75 72 6e 0d |e HitShi|ps,Turn.|
|000028d0| 65 6e 64 20 69 66 0d 70 | 75 74 20 22 52 65 64 22 |end if.p|ut "Red"|
|000028e0| 20 69 6e 74 6f 20 54 75 | 72 6e 0d 65 6e 64 20 69 | into Tu|rn.end i|
|000028f0| 66 0d 65 6c 73 65 0d 43 | 6f 6d 70 75 74 65 72 4d |f.else.C|omputerM|
|00002900| 6f 76 65 20 54 75 72 6e | 2c 31 2c 31 30 0d 70 75 |ove Turn|,1,10.pu|
|00002910| 74 20 22 52 65 64 22 20 | 69 6e 74 6f 20 54 75 72 |t "Red" |into Tur|
|00002920| 6e 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |n.end if|.end if.|
|00002930| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 4d |end repe|at.end M|
|00002940| 61 69 6e 47 61 6d 65 0d | 0d 6f 6e 20 43 6f 6d 70 |ainGame.|.on Comp|
|00002950| 75 74 65 72 4d 6f 76 65 | 20 63 6f 6c 6f 72 2c 6c |uterMove| color,l|
|00002960| 6f 2c 68 69 0d 67 6c 6f | 62 61 6c 20 74 68 65 53 |o,hi.glo|bal theS|
|00002970| 68 69 70 2c 74 68 65 43 | 6f 75 72 73 65 2c 46 6f |hip,theC|ourse,Fo|
|00002980| 72 66 65 69 74 0d 70 75 | 74 20 47 65 74 52 61 6e |rfeit.pu|t GetRan|
|00002990| 64 6f 6d 53 68 69 70 28 | 63 6f 6c 6f 72 2c 6c 6f |domShip(|color,lo|
|000029a0| 2c 68 69 29 20 69 6e 74 | 6f 20 74 68 65 53 68 69 |,hi) int|o theShi|
|000029b0| 70 0d 72 65 70 65 61 74 | 20 34 0d 42 6c 69 6e 6b |p.repeat| 4.Blink|
|000029c0| 20 74 68 65 53 68 69 70 | 0d 65 6e 64 20 72 65 70 | theShip|.end rep|
|000029d0| 65 61 74 0d 73 65 74 20 | 74 68 65 20 68 69 6c 69 |eat.set |the hili|
|000029e0| 74 65 20 6f 66 20 62 67 | 20 62 74 6e 20 74 68 65 |te of bg| btn the|
|000029f0| 53 68 69 70 20 74 6f 20 | 74 72 75 65 0d 70 75 74 |Ship to |true.put|
|00002a00| 20 43 6f 6d 70 75 74 65 | 72 50 6c 6f 74 43 6f 75 | Compute|rPlotCou|
|00002a10| 72 73 65 28 63 6f 6c 6f | 72 2c 41 6e 74 69 28 6c |rse(colo|r,Anti(l|
|00002a20| 6f 29 2c 41 6e 74 69 28 | 68 69 29 29 20 69 6e 74 |o),Anti(|hi)) int|
|00002a30| 6f 20 74 68 65 43 6f 75 | 72 73 65 0d 73 65 74 20 |o theCou|rse.set |
|00002a40| 74 68 65 20 68 69 6c 69 | 74 65 20 6f 66 20 62 67 |the hili|te of bg|
|00002a50| 20 62 74 6e 20 74 68 65 | 53 68 69 70 20 74 6f 20 | btn the|Ship to |
|00002a60| 66 61 6c 73 65 0d 73 65 | 74 20 63 75 72 73 6f 72 |false.se|t cursor|
|00002a70| 20 74 6f 20 63 6f 6c 6f | 72 0d 69 66 20 46 6f 72 | to colo|r.if For|
|00002a80| 66 65 69 74 20 74 68 65 | 6e 0d 52 65 6d 6f 76 65 |feit the|n.Remove|
|00002a90| 53 61 69 6c 20 41 6e 74 | 69 28 63 6f 6c 6f 72 29 |Sail Ant|i(color)|
|00002aa0| 0d 65 6c 73 65 0d 4d 6f | 76 65 53 68 69 70 0d 68 |.else.Mo|veShip.h|
|00002ab0| 69 64 65 20 62 67 20 62 | 74 6e 20 22 43 6f 75 72 |ide bg b|tn "Cour|
|00002ac0| 73 65 22 0d 70 75 74 20 | 46 69 72 65 28 41 6e 74 |se".put |Fire(Ant|
|00002ad0| 69 28 6c 6f 29 2c 41 6e | 74 69 28 68 69 29 29 20 |i(lo),An|ti(hi)) |
|00002ae0| 69 6e 74 6f 20 48 69 74 | 53 68 69 70 73 0d 45 78 |into Hit|Ships.Ex|
|00002af0| 70 6c 6f 64 65 20 48 69 | 74 53 68 69 70 73 2c 63 |plode Hi|tShips,c|
|00002b00| 6f 6c 6f 72 0d 69 66 20 | 74 68 65 20 6e 75 6d 62 |olor.if |the numb|
|00002b10| 65 72 20 6f 66 20 69 74 | 65 6d 73 20 6f 66 20 48 |er of it|ems of H|
|00002b20| 69 74 53 68 69 70 73 20 | 3e 20 30 20 74 68 65 6e |itShips |> 0 then|
|00002b30| 0d 52 65 74 75 72 6e 46 | 69 72 65 20 48 69 74 53 |.ReturnF|ire HitS|
|00002b40| 68 69 70 73 2c 63 6f 6c | 6f 72 0d 65 6e 64 20 69 |hips,col|or.end i|
|00002b50| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 43 6f 6d |f.end if|.end Com|
|00002b60| 70 75 74 65 72 4d 6f 76 | 65 0d 0d 66 75 6e 63 74 |puterMov|e..funct|
|00002b70| 69 6f 6e 20 47 65 74 52 | 61 6e 64 6f 6d 53 68 69 |ion GetR|andomShi|
|00002b80| 70 20 63 6f 6c 6f 72 2c | 6c 6f 2c 68 69 0d 70 75 |p color,|lo,hi.pu|
|00002b90| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 56 69 73 |t empty |into Vis|
|00002ba0| 53 68 69 70 73 0d 72 65 | 70 65 61 74 20 77 69 74 |Ships.re|peat wit|
|00002bb0| 68 20 69 20 3d 20 6c 6f | 20 74 6f 20 68 69 0d 69 |h i = lo| to hi.i|
|00002bc0| 66 20 74 68 65 20 76 69 | 73 69 62 6c 65 20 6f 66 |f the vi|sible of|
|00002bd0| 20 62 67 20 62 74 6e 20 | 69 20 3d 20 74 72 75 65 | bg btn |i = true|
|00002be0| 20 74 68 65 6e 0d 70 75 | 74 20 69 20 26 20 22 2c | then.pu|t i & ",|
|00002bf0| 22 20 61 66 74 65 72 20 | 56 69 73 53 68 69 70 73 |" after |VisShips|
|00002c00| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|00002c10| 61 74 0d 72 65 74 75 72 | 6e 20 69 74 65 6d 20 72 |at.retur|n item r|
|00002c20| 61 6e 64 6f 6d 28 74 68 | 65 20 6e 75 6d 62 65 72 |andom(th|e number|
|00002c30| 20 6f 66 20 69 74 65 6d | 73 20 6f 66 20 56 69 73 | of item|s of Vis|
|00002c40| 53 68 69 70 73 29 20 6f | 66 20 56 69 73 53 68 69 |Ships) o|f VisShi|
|00002c50| 70 73 0d 65 6e 64 20 47 | 65 74 52 61 6e 64 6f 6d |ps.end G|etRandom|
|00002c60| 53 68 69 70 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 43 |Ship..fu|nction C|
|00002c70| 6f 6d 70 75 74 65 72 50 | 6c 6f 74 43 6f 75 72 73 |omputerP|lotCours|
|00002c80| 65 20 63 6f 6c 6f 72 2c | 6c 6f 2c 68 69 0d 67 6c |e color,|lo,hi.gl|
|00002c90| 6f 62 61 6c 20 74 68 65 | 53 68 69 70 2c 46 6f 72 |obal the|Ship,For|
|00002ca0| 66 65 69 74 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |feit.set| cursor |
|00002cb0| 74 6f 20 62 75 73 79 0d | 70 75 74 20 66 61 6c 73 |to busy.|put fals|
|00002cc0| 65 20 69 6e 74 6f 20 46 | 6f 72 66 65 69 74 0d 70 |e into F|orfeit.p|
|00002cd0| 75 74 20 69 74 65 6d 20 | 31 20 6f 66 20 74 68 65 |ut item |1 of the|
|00002ce0| 20 6c 6f 63 20 6f 66 20 | 62 67 20 62 74 6e 20 74 | loc of |bg btn t|
|00002cf0| 68 65 53 68 69 70 20 69 | 6e 74 6f 20 78 0d 70 75 |heShip i|nto x.pu|
|00002d00| 74 20 69 74 65 6d 20 32 | 20 6f 66 20 74 68 65 20 |t item 2| of the |
|00002d10| 6c 6f 63 20 6f 66 20 62 | 67 20 62 74 6e 20 74 68 |loc of b|g btn th|
|00002d20| 65 53 68 69 70 20 69 6e | 74 6f 20 79 0d 2d 2d 5c |eShip in|to y.--\|
|00002d30| 5c 5c 0d 73 65 74 20 74 | 68 65 20 6c 6f 63 20 6f |\\.set t|he loc o|
|00002d40| 66 20 62 67 20 62 74 6e | 20 22 43 6f 75 72 73 65 |f bg btn| "Course|
|00002d50| 22 20 74 6f 20 69 74 65 | 6d 20 31 20 6f 66 20 74 |" to ite|m 1 of t|
|00002d60| 68 65 20 6c 6f 63 20 6f | 66 20 62 67 20 62 74 6e |he loc o|f bg btn|
|00002d70| 20 74 68 65 53 68 69 70 | 2c 36 30 0d 2d 2d 43 68 | theShip|,60.--Ch|
|00002d80| 65 63 6b 20 74 6f 20 73 | 65 65 20 69 66 20 61 20 |eck to s|ee if a |
|00002d90| 52 65 64 20 73 68 69 70 | 20 63 61 6e 20 62 6c 6f |Red ship| can blo|
|00002da0| 77 20 61 77 61 79 20 61 | 20 4d 65 72 63 68 61 6e |w away a| Merchan|
|00002db0| 74 20 73 68 69 70 2e 0d | 69 66 20 28 74 68 65 53 |t ship..|if (theS|
|00002dc0| 68 69 70 20 3e 20 31 30 | 29 20 61 6e 64 20 28 69 |hip > 10|) and (i|
|00002dd0| 74 65 6d 20 32 20 6f 66 | 20 74 68 65 20 6c 6f 63 |tem 2 of| the loc|
|00002de0| 20 6f 66 20 62 67 20 62 | 74 6e 20 74 68 65 53 68 | of bg b|tn theSh|
|00002df0| 69 70 20 3d 20 36 30 29 | 20 74 68 65 6e 0d 70 75 |ip = 60)| then.pu|
|00002e00| 74 20 22 68 6f 72 69 7a | 6f 6e 74 61 6c 22 20 69 |t "horiz|ontal" i|
|00002e10| 6e 74 6f 20 53 68 69 70 | 49 73 4d 6f 76 69 6e 67 |nto Ship|IsMoving|
|00002e20| 0d 2d 2d 43 68 65 63 6b | 20 74 6f 20 73 65 65 20 |.--Check| to see |
|00002e30| 69 66 20 61 20 52 65 64 | 20 73 68 69 70 20 68 61 |if a Red| ship ha|
|00002e40| 73 20 61 20 63 6c 65 61 | 72 20 70 61 74 68 20 74 |s a clea|r path t|
|00002e50| 6f 20 74 68 65 20 4d 65 | 72 63 68 61 6e 74 20 6c |o the Me|rchant l|
|00002e60| 61 6e 65 2e 0d 65 6c 73 | 65 20 69 66 20 28 74 68 |ane..els|e if (th|
|00002e70| 65 53 68 69 70 20 3e 20 | 31 30 29 20 61 6e 64 20 |eShip > |10) and |
|00002e80| 43 6c 65 61 72 50 61 74 | 68 28 22 76 65 72 74 69 |ClearPat|h("verti|
|00002e90| 63 61 6c 22 29 20 74 68 | 65 6e 0d 73 68 6f 77 20 |cal") th|en.show |
|00002ea0| 62 67 20 62 74 6e 20 22 | 63 6f 75 72 73 65 22 0d |bg btn "|course".|
|00002eb0| 72 65 74 75 72 6e 20 74 | 68 65 20 6c 6f 63 20 6f |return t|he loc o|
|00002ec0| 66 20 62 67 20 62 74 6e | 20 22 63 6f 75 72 73 65 |f bg btn| "course|
|00002ed0| 22 0d 65 6c 73 65 0d 69 | 66 20 72 61 6e 64 6f 6d |".else.i|f random|
|00002ee0| 28 35 29 20 3e 20 32 20 | 74 68 65 6e 20 2d 2d 4d |(5) > 2 |then --M|
|00002ef0| 6f 72 65 20 76 65 72 74 | 69 63 61 6c 20 6d 6f 76 |ore vert|ical mov|
|00002f00| 65 73 20 74 68 61 6e 20 | 68 6f 72 69 7a 6f 6e 74 |es than |horizont|
|00002f10| 61 6c 0d 70 75 74 20 22 | 76 65 72 74 69 63 61 6c |al.put "|vertical|
|00002f20| 22 20 69 6e 74 6f 20 53 | 68 69 70 49 73 4d 6f 76 |" into S|hipIsMov|
|00002f30| 69 6e 67 0d 65 6c 73 65 | 0d 70 75 74 20 22 68 6f |ing.else|.put "ho|
|00002f40| 72 69 7a 6f 6e 74 61 6c | 22 20 69 6e 74 6f 20 53 |rizontal|" into S|
|00002f50| 68 69 70 49 73 4d 6f 76 | 69 6e 67 0d 65 6e 64 20 |hipIsMov|ing.end |
|00002f60| 69 66 0d 65 6e 64 20 69 | 66 0d 69 66 20 53 68 69 |if.end i|f.if Shi|
|00002f70| 70 49 73 4d 6f 76 69 6e | 67 20 3d 20 22 76 65 72 |pIsMovin|g = "ver|
|00002f80| 74 69 63 61 6c 22 20 74 | 68 65 6e 0d 70 75 74 20 |tical" t|hen.put |
|00002f90| 46 69 6e 64 4c 65 66 74 | 52 69 67 68 74 54 61 72 |FindLeft|RightTar|
|00002fa0| 67 65 74 28 6c 6f 2c 68 | 69 29 20 69 6e 74 6f 20 |get(lo,h|i) into |
|00002fb0| 79 79 79 79 79 0d 73 65 | 74 20 74 68 65 20 6c 6f |yyyyy.se|t the lo|
|00002fc0| 63 20 6f 66 20 62 67 20 | 62 74 6e 20 22 43 6f 75 |c of bg |btn "Cou|
|00002fd0| 72 73 65 22 20 74 6f 20 | 78 2c 79 79 79 79 79 0d |rse" to |x,yyyyy.|
|00002fe0| 70 75 74 20 30 20 69 6e | 74 6f 20 52 65 70 73 0d |put 0 in|to Reps.|
|00002ff0| 72 65 70 65 61 74 20 75 | 6e 74 69 6c 20 43 6c 65 |repeat u|ntil Cle|
|00003000| 61 72 50 61 74 68 28 53 | 68 69 70 49 73 4d 6f 76 |arPath(S|hipIsMov|
|00003010| 69 6e 67 29 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |ing).set| cursor |
|00003020| 74 6f 20 62 75 73 79 0d | 61 64 64 20 31 20 74 6f |to busy.|add 1 to|
|00003030| 20 52 65 70 73 0d 69 66 | 20 52 65 70 73 20 3e 20 | Reps.if| Reps > |
|00003040| 31 30 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 22 |10 then.|answer "|
|00003050| 43 6f 6d 70 75 74 65 72 | 20 66 6f 72 66 65 69 74 |Computer| forfeit|
|00003060| 73 20 6d 6f 76 65 20 62 | 65 63 61 75 73 65 20 69 |s move b|ecause i|
|00003070| 74 27 73 20 74 6f 6f 20 | 73 74 75 70 69 64 2e 20 |t's too |stupid. |
|00003080| 4f 6e 65 20 6d 61 73 74 | 20 77 69 6c 6c 20 62 65 |One mast| will be|
|00003090| 20 6c 6f 73 74 20 61 73 | 20 61 20 72 65 73 75 6c | lost as| a resul|
|000030a0| 74 2e 22 20 77 69 74 68 | 20 22 47 65 65 20 77 68 |t." with| "Gee wh|
|000030b0| 69 7a 22 0d 70 75 74 20 | 74 72 75 65 20 69 6e 74 |iz".put |true int|
|000030c0| 6f 20 46 6f 72 66 65 69 | 74 0d 65 78 69 74 20 72 |o Forfei|t.exit r|
|000030d0| 65 70 65 61 74 0d 65 6c | 73 65 20 69 66 20 52 65 |epeat.el|se if Re|
|000030e0| 70 73 20 3e 20 35 20 74 | 68 65 6e 0d 70 75 74 20 |ps > 5 t|hen.put |
|000030f0| 22 68 6f 72 69 7a 6f 6e | 74 61 6c 22 20 69 6e 74 |"horizon|tal" int|
|00003100| 6f 20 53 68 69 70 49 73 | 4d 6f 76 69 6e 67 0d 73 |o ShipIs|Moving.s|
|00003110| 65 74 20 74 68 65 20 6c | 6f 63 20 6f 66 20 62 67 |et the l|oc of bg|
|00003120| 20 62 74 6e 20 22 63 6f | 75 72 73 65 22 20 74 6f | btn "co|urse" to|
|00003130| 20 28 28 72 61 6e 64 6f | 6d 28 33 33 30 29 2b 39 | ((rando|m(330)+9|
|00003140| 30 29 64 69 76 20 33 30 | 29 2a 33 30 2c 79 0d 65 |0)div 30|)*30,y.e|
|00003150| 6c 73 65 0d 73 65 74 20 | 74 68 65 20 6c 6f 63 20 |lse.set |the loc |
|00003160| 6f 66 20 62 67 20 62 74 | 6e 20 22 63 6f 75 72 73 |of bg bt|n "cours|
|00003170| 65 22 20 74 6f 20 78 2c | 28 28 72 61 6e 64 6f 6d |e" to x,|((random|
|00003180| 28 32 37 31 29 2b 35 39 | 29 64 69 76 20 33 30 29 |(271)+59|)div 30)|
|00003190| 2a 33 30 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |*30.end |if.end r|
|000031a0| 65 70 65 61 74 0d 73 68 | 6f 77 20 62 67 20 62 74 |epeat.sh|ow bg bt|
|000031b0| 6e 20 22 63 6f 75 72 73 | 65 22 0d 65 6c 73 65 0d |n "cours|e".else.|
|000031c0| 70 75 74 20 46 69 6e 64 | 55 70 44 6f 77 6e 54 61 |put Find|UpDownTa|
|000031d0| 72 67 65 74 28 6c 6f 2c | 68 69 29 20 69 6e 74 6f |rget(lo,|hi) into|
|000031e0| 20 78 78 78 78 78 0d 73 | 65 74 20 74 68 65 20 6c | xxxxx.s|et the l|
|000031f0| 6f 63 20 6f 66 20 62 67 | 20 62 74 6e 20 22 43 6f |oc of bg| btn "Co|
|00003200| 75 72 73 65 22 20 74 6f | 20 78 78 78 78 78 2c 79 |urse" to| xxxxx,y|
|00003210| 0d 70 75 74 20 30 20 69 | 6e 74 6f 20 52 65 70 73 |.put 0 i|nto Reps|
|00003220| 0d 72 65 70 65 61 74 20 | 75 6e 74 69 6c 20 43 6c |.repeat |until Cl|
|00003230| 65 61 72 50 61 74 68 28 | 53 68 69 70 49 73 4d 6f |earPath(|ShipIsMo|
|00003240| 76 69 6e 67 29 0d 73 65 | 74 20 63 75 72 73 6f 72 |ving).se|t cursor|
|00003250| 20 74 6f 20 62 75 73 79 | 0d 61 64 64 20 31 20 74 | to busy|.add 1 t|
|00003260| 6f 20 52 65 70 73 0d 69 | 66 20 52 65 70 73 20 3e |o Reps.i|f Reps >|
|00003270| 20 31 30 20 74 68 65 6e | 0d 61 6e 73 77 65 72 20 | 10 then|.answer |
|00003280| 22 43 6f 6d 70 75 74 65 | 72 20 66 6f 72 66 65 69 |"Compute|r forfei|
|00003290| 74 73 20 6d 6f 76 65 20 | 62 65 63 61 75 73 65 20 |ts move |because |
|000032a0| 69 74 27 73 20 74 6f 6f | 20 73 74 75 70 69 64 2e |it's too| stupid.|
|000032b0| 20 4f 6e 65 20 6d 61 73 | 74 20 77 69 6c 6c 20 62 | One mas|t will b|
|000032c0| 65 20 6c 6f 73 74 20 61 | 73 20 61 20 72 65 73 75 |e lost a|s a resu|
|000032d0| 6c 74 2e 22 20 77 69 74 | 68 20 22 47 65 65 20 77 |lt." wit|h "Gee w|
|000032e0| 68 69 7a 22 0d 70 75 74 | 20 74 72 75 65 20 69 6e |hiz".put| true in|
|000032f0| 74 6f 20 46 6f 72 66 65 | 69 74 0d 65 78 69 74 20 |to Forfe|it.exit |
|00003300| 72 65 70 65 61 74 0d 65 | 6c 73 65 20 69 66 20 52 |repeat.e|lse if R|
|00003310| 65 70 73 20 3e 20 35 20 | 74 68 65 6e 0d 70 75 74 |eps > 5 |then.put|
|00003320| 20 22 76 65 72 74 69 63 | 61 6c 22 20 69 6e 74 6f | "vertic|al" into|
|00003330| 20 53 68 69 70 49 73 4d | 6f 76 69 6e 67 0d 73 65 | ShipIsM|oving.se|
|00003340| 74 20 74 68 65 20 6c 6f | 63 20 6f 66 20 62 67 20 |t the lo|c of bg |
|00003350| 62 74 6e 20 22 63 6f 75 | 72 73 65 22 20 74 6f 20 |btn "cou|rse" to |
|00003360| 78 2c 28 28 72 61 6e 64 | 6f 6d 28 32 37 31 29 2b |x,((rand|om(271)+|
|00003370| 35 39 29 64 69 76 20 33 | 30 29 2a 33 30 0d 65 6c |59)div 3|0)*30.el|
|00003380| 73 65 0d 73 65 74 20 74 | 68 65 20 6c 6f 63 20 6f |se.set t|he loc o|
|00003390| 66 20 62 67 20 62 74 6e | 20 22 63 6f 75 72 73 65 |f bg btn| "course|
|000033a0| 22 20 74 6f 20 28 28 72 | 61 6e 64 6f 6d 28 33 33 |" to ((r|andom(33|
|000033b0| 30 29 2b 39 30 29 64 69 | 76 20 33 30 29 2a 33 30 |0)+90)di|v 30)*30|
|000033c0| 2c 79 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |,y.end i|f.end re|
|000033d0| 70 65 61 74 0d 73 68 6f | 77 20 62 67 20 62 74 6e |peat.sho|w bg btn|
|000033e0| 20 22 63 6f 75 72 73 65 | 22 0d 65 6e 64 20 69 66 | "course|".end if|
|000033f0| 0d 72 65 74 75 72 6e 20 | 74 68 65 20 6c 6f 63 20 |.return |the loc |
|00003400| 6f 66 20 62 67 20 62 74 | 6e 20 22 43 6f 75 72 73 |of bg bt|n "Cours|
|00003410| 65 22 0d 65 6e 64 20 43 | 6f 6d 70 75 74 65 72 50 |e".end C|omputerP|
|00003420| 6c 6f 74 43 6f 75 72 73 | 65 0d 0d 66 75 6e 63 74 |lotCours|e..funct|
|00003430| 69 6f 6e 20 46 69 6e 64 | 4c 65 66 74 52 69 67 68 |ion Find|LeftRigh|
|00003440| 74 54 61 72 67 65 74 20 | 6c 6f 2c 68 69 0d 67 6c |tTarget |lo,hi.gl|
|00003450| 6f 62 61 6c 20 74 68 65 | 53 68 69 70 0d 72 65 70 |obal the|Ship.rep|
|00003460| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 6c 6f 20 |eat with| i = lo |
|00003470| 74 6f 20 68 69 0d 69 66 | 20 28 28 69 74 65 6d 20 |to hi.if| ((item |
|00003480| 31 20 6f 66 20 74 68 65 | 20 6c 6f 63 20 6f 66 20 |1 of the| loc of |
|00003490| 62 67 20 62 74 6e 20 69 | 20 3d 20 28 69 74 65 6d |bg btn i| = (item|
|000034a0| 20 31 20 6f 66 20 74 68 | 65 20 6c 6f 63 20 6f 66 | 1 of th|e loc of|
|000034b0| 20 62 67 20 62 74 6e 20 | 74 68 65 53 68 69 70 29 | bg btn |theShip)|
|000034c0| 20 2b 20 33 30 29 20 61 | 6e 64 20 74 68 65 20 76 | + 30) a|nd the v|
|000034d0| 69 73 69 62 6c 65 20 6f | 66 20 62 67 20 62 74 6e |isible o|f bg btn|
|000034e0| 20 69 29 20 c2 0d 4f 52 | 20 28 28 69 74 65 6d 20 | i) ..OR| ((item |
|000034f0| 31 20 6f 66 20 74 68 65 | 20 6c 6f 63 20 6f 66 20 |1 of the| loc of |
|00003500| 62 67 20 62 74 6e 20 69 | 20 3d 20 28 69 74 65 6d |bg btn i| = (item|
|00003510| 20 31 20 6f 66 20 74 68 | 65 20 6c 6f 63 20 6f 66 | 1 of th|e loc of|
|00003520| 20 62 67 20 62 74 6e 20 | 74 68 65 53 68 69 70 29 | bg btn |theShip)|
|00003530| 20 2d 20 33 30 29 20 61 | 6e 64 20 74 68 65 20 76 | - 30) a|nd the v|
|00003540| 69 73 69 62 6c 65 20 6f | 66 20 62 67 20 62 74 6e |isible o|f bg btn|
|00003550| 20 69 29 20 74 68 65 6e | 0d 2d 2d 49 66 20 61 20 | i) then|.--If a |
|00003560| 73 68 69 70 20 77 6f 75 | 6c 64 20 62 65 20 74 6f |ship wou|ld be to|
|00003570| 20 74 68 65 20 6c 65 66 | 74 20 6f 72 20 72 69 67 | the lef|t or rig|
|00003580| 68 74 20 61 6e 64 20 69 | 74 27 73 20 76 69 73 69 |ht and i|t's visi|
|00003590| 62 6c 65 2e 0d 72 65 74 | 75 72 6e 20 69 74 65 6d |ble..ret|urn item|
|000035a0| 20 32 20 6f 66 20 74 68 | 65 20 6c 6f 63 20 6f 66 | 2 of th|e loc of|
|000035b0| 20 62 67 20 62 74 6e 20 | 69 0d 65 78 69 74 20 72 | bg btn |i.exit r|
|000035c0| 65 70 65 61 74 0d 65 6e | 64 20 69 66 0d 65 6e 64 |epeat.en|d if.end|
|000035d0| 20 72 65 70 65 61 74 0d | 72 65 74 75 72 6e 20 30 | repeat.|return 0|
|000035e0| 0d 65 6e 64 20 46 69 6e | 64 4c 65 66 74 52 69 67 |.end Fin|dLeftRig|
|000035f0| 68 74 54 61 72 67 65 74 | 0d 0d 66 75 6e 63 74 69 |htTarget|..functi|
|00003600| 6f 6e 20 46 69 6e 64 55 | 70 44 6f 77 6e 54 61 72 |on FindU|pDownTar|
|00003610| 67 65 74 20 6c 6f 2c 68 | 69 0d 67 6c 6f 62 61 6c |get lo,h|i.global|
|00003620| 20 74 68 65 53 68 69 70 | 0d 70 75 74 20 66 61 6c | theShip|.put fal|
|00003630| 73 65 20 69 6e 74 6f 20 | 46 6f 75 6e 64 4d 65 72 |se into |FoundMer|
|00003640| 63 68 61 6e 74 0d 69 66 | 20 74 68 65 53 68 69 70 |chant.if| theShip|
|00003650| 20 3e 20 31 30 20 74 68 | 65 6e 0d 72 65 70 65 61 | > 10 th|en.repea|
|00003660| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|00003670| 34 0d 69 66 20 28 69 74 | 65 6d 20 32 20 6f 66 20 |4.if (it|em 2 of |
|00003680| 74 68 65 20 6c 6f 63 20 | 6f 66 20 62 67 20 62 74 |the loc |of bg bt|
|00003690| 6e 20 28 22 4d 65 72 63 | 68 61 6e 74 22 20 26 20 |n ("Merc|hant" & |
|000036a0| 69 29 20 3d 20 28 69 74 | 65 6d 20 32 20 6f 66 20 |i) = (it|em 2 of |
|000036b0| 74 68 65 20 6c 6f 63 20 | 6f 66 20 62 67 20 62 74 |the loc |of bg bt|
|000036c0| 6e 20 74 68 65 53 68 69 | 70 29 20 2d 20 33 30 29 |n theShi|p) - 30)|
|000036d0| 20 74 68 65 6e 0d 2d 2d | 49 66 20 61 20 6d 65 72 | then.--|If a mer|
|000036e0| 63 68 61 6e 74 20 73 68 | 69 70 20 77 6f 75 6c 64 |chant sh|ip would|
|000036f0| 20 62 65 20 64 69 72 65 | 63 74 6c 79 20 61 62 6f | be dire|ctly abo|
|00003700| 76 65 20 74 68 65 53 68 | 69 70 2e 0d 70 75 74 20 |ve theSh|ip..put |
|00003710| 74 72 75 65 20 69 6e 74 | 6f 20 46 6f 75 6e 64 4d |true int|o FoundM|
|00003720| 65 72 63 68 61 6e 74 0d | 72 65 74 75 72 6e 20 69 |erchant.|return i|
|00003730| 74 65 6d 20 31 20 6f 66 | 20 74 68 65 20 6c 6f 63 |tem 1 of| the loc|
|00003740| 20 6f 66 20 62 67 20 62 | 74 6e 20 28 22 4d 65 72 | of bg b|tn ("Mer|
|00003750| 63 68 61 6e 74 22 26 20 | 69 29 0d 65 78 69 74 20 |chant"& |i).exit |
|00003760| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 65 6e |repeat.e|nd if.en|
|00003770| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |d repeat|.end if.|
|00003780| 69 66 20 46 6f 75 6e 64 | 4d 65 72 63 68 61 6e 74 |if Found|Merchant|
|00003790| 20 74 68 65 6e 20 65 78 | 69 74 20 46 69 6e 64 55 | then ex|it FindU|
|000037a0| 70 44 6f 77 6e 54 61 72 | 67 65 74 0d 72 65 70 65 |pDownTar|get.repe|
|000037b0| 61 74 20 77 69 74 68 20 | 69 20 3d 20 6c 6f 20 74 |at with |i = lo t|
|000037c0| 6f 20 68 69 0d 69 66 20 | 28 69 74 65 6d 20 32 20 |o hi.if |(item 2 |
|000037d0| 6f 66 20 74 68 65 20 6c | 6f 63 20 6f 66 20 62 67 |of the l|oc of bg|
|000037e0| 20 62 74 6e 20 69 20 3d | 20 28 69 74 65 6d 20 32 | btn i =| (item 2|
|000037f0| 20 6f 66 20 74 68 65 20 | 6c 6f 63 20 6f 66 20 62 | of the |loc of b|
|00003800| 67 20 62 74 6e 20 74 68 | 65 53 68 69 70 29 20 2b |g btn th|eShip) +|
|00003810| 20 33 30 29 20 c2 0d 4f | 52 20 28 69 74 65 6d 20 | 30) ..O|R (item |
|00003820| 32 20 6f 66 20 74 68 65 | 20 6c 6f 63 20 6f 66 20 |2 of the| loc of |
|00003830| 62 67 20 62 74 6e 20 69 | 20 3d 20 28 69 74 65 6d |bg btn i| = (item|
|00003840| 20 32 20 6f 66 20 74 68 | 65 20 6c 6f 63 20 6f 66 | 2 of th|e loc of|
|00003850| 20 62 67 20 62 74 6e 20 | 74 68 65 53 68 69 70 29 | bg btn |theShip)|
|00003860| 20 2d 20 33 30 29 20 74 | 68 65 6e 0d 2d 2d 49 66 | - 30) t|hen.--If|
|00003870| 20 61 20 73 68 69 70 20 | 77 6f 75 6c 64 20 62 65 | a ship |would be|
|00003880| 20 64 69 72 65 63 74 6c | 79 20 61 62 6f 76 65 20 | directl|y above |
|00003890| 6f 72 20 62 65 6c 6f 77 | 20 74 68 65 53 68 69 70 |or below| theShip|
|000038a0| 2e 0d 72 65 74 75 72 6e | 20 69 74 65 6d 20 31 20 |..return| item 1 |
|000038b0| 6f 66 20 74 68 65 20 6c | 6f 63 20 6f 66 20 62 67 |of the l|oc of bg|
|000038c0| 20 62 74 6e 20 69 0d 65 | 78 69 74 20 72 65 70 65 | btn i.e|xit repe|
|000038d0| 61 74 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |at.end i|f.end re|
|000038e0| 70 65 61 74 0d 72 65 74 | 75 72 6e 20 30 0d 65 6e |peat.ret|urn 0.en|
|000038f0| 64 20 46 69 6e 64 55 70 | 44 6f 77 6e 54 61 72 67 |d FindUp|DownTarg|
|00003900| 65 74 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 41 6e 74 |et..func|tion Ant|
|00003910| 69 20 78 0d 69 66 20 78 | 20 3d 20 31 20 74 68 65 |i x.if x| = 1 the|
|00003920| 6e 0d 72 65 74 75 72 6e | 20 31 31 0d 65 6c 73 65 |n.return| 11.else|
|00003930| 20 69 66 20 78 20 3d 20 | 31 30 20 74 68 65 6e 0d | if x = |10 then.|
|00003940| 72 65 74 75 72 6e 20 32 | 30 0d 65 6c 73 65 20 69 |return 2|0.else i|
|00003950| 66 20 78 20 3d 20 31 31 | 20 74 68 65 6e 0d 72 65 |f x = 11| then.re|
|00003960| 74 75 72 6e 20 31 0d 65 | 6c 73 65 20 69 66 20 78 |turn 1.e|lse if x|
|00003970| 20 3d 20 32 30 20 74 68 | 65 6e 0d 72 65 74 75 72 | = 20 th|en.retur|
|00003980| 6e 20 31 30 0d 65 6c 73 | 65 20 69 66 20 78 20 3d |n 10.els|e if x =|
|00003990| 20 22 52 65 64 22 20 74 | 68 65 6e 0d 72 65 74 75 | "Red" t|hen.retu|
|000039a0| 72 6e 20 22 42 6c 75 65 | 22 0d 65 6c 73 65 20 69 |rn "Blue|".else i|
|000039b0| 66 20 78 20 3d 20 22 42 | 6c 75 65 22 20 74 68 65 |f x = "B|lue" the|
|000039c0| 6e 0d 72 65 74 75 72 6e | 20 22 52 65 64 0d 65 6e |n.return| "Red.en|
|000039d0| 64 20 69 66 0d 65 6e 64 | 20 41 6e 74 69 0d 0d 6f |d if.end| Anti..o|
|000039e0| 6e 20 52 65 6d 6f 76 65 | 53 61 69 6c 20 63 6f 6c |n Remove|Sail col|
|000039f0| 6f 72 0d 67 6c 6f 62 61 | 6c 20 74 68 65 53 68 69 |or.globa|l theShi|
|00003a00| 70 0d 70 75 74 20 74 68 | 65 53 68 69 70 20 69 6e |p.put th|eShip in|
|00003a10| 74 6f 20 48 69 74 53 68 | 69 70 73 0d 45 78 70 6c |to HitSh|ips.Expl|
|00003a20| 6f 64 65 20 48 69 74 53 | 68 69 70 73 2c 63 6f 6c |ode HitS|hips,col|
|00003a30| 6f 72 0d 65 6e 64 20 52 | 65 6d 6f 76 65 53 61 69 |or.end R|emoveSai|
|00003a40| 6c 00 00 48 00 23 02 95 | 00 32 00 34 01 3b 01 cd |l..H.#..|.2.4.;..|
|00003a50| 20 04 00 00 00 00 00 00 | 00 02 00 0c 00 00 00 10 | .......|........|
|00003a60| 41 62 6f 75 74 00 00 6f | 6e 20 6d 6f 75 73 65 64 |About..o|n moused|
|00003a70| 6f 77 6e 0d 68 69 64 65 | 20 6d 65 0d 65 6e 64 20 |own.hide| me.end |
|00003a80| 6d 6f 75 73 65 64 6f 77 | 6e 00 00 6f 6e 20 41 72 |mousedow|n..on Ar|
|00003a90| 72 61 6e 67 65 53 68 69 | 70 73 0d 68 69 64 65 20 |rangeShi|ps.hide |
|00003aa0| 62 67 20 62 74 6e 20 22 | 43 6f 75 72 73 65 22 0d |bg btn "|Course".|
|00003ab0| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00003ac0| 31 20 74 6f 20 34 0d 73 | 65 74 20 74 68 65 20 6c |1 to 4.s|et the l|
|00003ad0| 6f 63 20 6f 66 20 62 67 | 20 62 74 6e 20 28 22 4d |oc of bg| btn ("M|
|00003ae0| 65 72 63 68 61 6e 74 22 | 20 26 20 69 29 20 74 6f |erchant"| & i) to|
|00003af0| 20 28 33 30 20 2a 20 69 | 20 2a 20 32 29 20 2b 20 | (30 * i| * 2) + |
|00003b00| 39 30 2c 33 30 0d 73 65 | 74 20 74 68 65 20 69 63 |90,30.se|t the ic|
|00003b10| 6f 6e 20 6f 66 20 62 67 | 20 62 74 6e 20 28 22 4d |on of bg| btn ("M|
|00003b20| 65 72 63 68 61 6e 74 22 | 20 26 20 69 29 20 74 6f |erchant"| & i) to|
|00003b30| 20 22 4d 65 72 63 68 61 | 6e 74 22 0d 73 68 6f 77 | "Mercha|nt".show|
|00003b40| 20 62 67 20 62 74 6e 20 | 28 22 4d 65 72 63 68 61 | bg btn |("Mercha|
|00003b50| 6e 74 22 20 26 20 69 29 | 0d 65 6e 64 20 72 65 70 |nt" & i)|.end rep|
|00003b60| 65 61 74 0d 0d 73 65 74 | 20 74 68 65 20 69 63 6f |eat..set| the ico|
|00003b70| 6e 20 6f 66 20 62 67 20 | 62 74 6e 20 31 20 74 6f |n of bg |btn 1 to|
|00003b80| 20 22 53 20 33 20 4d 61 | 73 74 22 0d 73 65 74 20 | "S 3 Ma|st".set |
|00003b90| 74 68 65 20 69 63 6f 6e | 20 6f 66 20 62 67 20 62 |the icon| of bg b|
|00003ba0| 74 6e 20 32 20 74 6f 20 | 22 53 20 33 20 4d 61 73 |tn 2 to |"S 3 Mas|
|00003bb0| 74 22 0d 73 65 74 20 74 | 68 65 20 69 63 6f 6e 20 |t".set t|he icon |
|00003bc0| 6f 66 20 62 67 20 62 74 | 6e 20 33 20 74 6f 20 22 |of bg bt|n 3 to "|
|00003bd0| 53 20 31 20 4d 61 73 74 | 22 0d 73 65 74 20 74 68 |S 1 Mast|".set th|
|00003be0| 65 20 69 63 6f 6e 20 6f | 66 20 62 67 20 62 74 6e |e icon o|f bg btn|
|00003bf0| 20 34 20 74 6f 20 22 53 | 20 31 20 4d 61 73 74 22 | 4 to "S| 1 Mast"|
|00003c00| 0d 73 65 74 20 74 68 65 | 20 69 63 6f 6e 20 6f 66 |.set the| icon of|
|00003c10| 20 62 67 20 62 74 6e 20 | 35 20 74 6f 20 22 53 20 | bg btn |5 to "S |
|00003c20| 32 20 4d 61 73 74 22 0d | 73 65 74 20 74 68 65 20 |2 Mast".|set the |
|00003c30| 69 63 6f 6e 20 6f 66 20 | 62 67 20 62 74 6e 20 36 |icon of |bg btn 6|
|00003c40| 20 74 6f 20 22 53 20 32 | 20 4d 61 73 74 22 0d 73 | to "S 2| Mast".s|
|00003c50| 65 74 20 74 68 65 20 69 | 63 6f 6e 20 6f 66 20 62 |et the i|con of b|
|00003c60| 67 20 62 74 6e 20 37 20 | 74 6f 20 22 53 20 31 20 |g btn 7 |to "S 1 |
|00003c70| 4d 61 73 74 22 0d 73 65 | 74 20 74 68 65 20 69 63 |Mast".se|t the ic|
|00003c80| 6f 6e 20 6f 66 20 62 67 | 20 62 74 6e 20 38 20 74 |on of bg| btn 8 t|
|00003c90| 6f 20 22 53 20 31 20 4d | 61 73 74 22 0d 73 65 74 |o "S 1 M|ast".set|
|00003ca0| 20 74 68 65 20 69 63 6f | 6e 20 6f 66 20 62 67 20 | the ico|n of bg |
|00003cb0| 62 74 6e 20 39 20 74 6f | 20 22 53 20 33 20 4d 61 |btn 9 to| "S 3 Ma|
|00003cc0| 73 74 22 0d 73 65 74 20 | 74 68 65 20 69 63 6f 6e |st".set |the icon|
|00003cd0| 20 6f 66 20 62 67 20 62 | 74 6e 20 31 30 20 74 6f | of bg b|tn 10 to|
|00003ce0| 20 22 53 20 33 20 4d 61 | 73 74 22 0d 0d 72 65 70 | "S 3 Ma|st"..rep|
|00003cf0| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 31 20 74 |eat with| i = 1 t|
|00003d00| 6f 20 31 30 0d 73 65 74 | 20 74 68 65 20 6c 6f 63 |o 10.set| the loc|
|00003d10| 20 6f 66 20 62 67 20 62 | 74 6e 20 69 20 74 6f 20 | of bg b|tn i to |
|00003d20| 28 69 2a 31 35 2a 32 29 | 2b 39 30 2c 28 32 2a 31 |(i*15*2)|+90,(2*1|
|00003d30| 35 2a 32 29 0d 73 65 74 | 20 74 68 65 20 68 69 6c |5*2).set| the hil|
|00003d40| 69 74 65 20 6f 66 20 62 | 67 20 62 74 6e 20 69 20 |ite of b|g btn i |
|00003d50| 74 6f 20 66 61 6c 73 65 | 0d 73 68 6f 77 20 62 67 |to false|.show bg|
|00003d60| 20 62 74 6e 20 69 0d 65 | 6e 64 20 72 65 70 65 61 | btn i.e|nd repea|
|00003d70| 74 0d 0d 73 65 74 20 74 | 68 65 20 69 63 6f 6e 20 |t..set t|he icon |
|00003d80| 6f 66 20 62 67 20 62 74 | 6e 20 31 31 20 74 6f 20 |of bg bt|n 11 to |
|00003d90| 22 4e 20 33 20 4d 61 73 | 74 22 0d 73 65 74 20 74 |"N 3 Mas|t".set t|
|00003da0| 68 65 20 69 63 6f 6e 20 | 6f 66 20 62 67 20 62 74 |he icon |of bg bt|
|00003db0| 6e 20 31 32 20 74 6f 20 | 22 4e 20 32 20 4d 61 73 |n 12 to |"N 2 Mas|
|00003dc0| 74 22 0d 73 65 74 20 74 | 68 65 20 69 63 6f 6e 20 |t".set t|he icon |
|00003dd0| 6f 66 20 62 67 20 62 74 | 6e 20 31 33 20 74 6f 20 |of bg bt|n 13 to |
|00003de0| 22 4e 20 33 20 4d 61 73 | 74 22 0d 73 65 74 20 74 |"N 3 Mas|t".set t|
|00003df0| 68 65 20 69 63 6f 6e 20 | 6f 66 20 62 67 20 62 74 |he icon |of bg bt|
|00003e00| 6e 20 31 34 20 74 6f 20 | 22 4e 20 34 20 4d 61 73 |n 14 to |"N 4 Mas|
|00003e10| 74 22 0d 73 65 74 20 74 | 68 65 20 69 63 6f 6e 20 |t".set t|he icon |
|00003e20| 6f 66 20 62 67 20 62 74 | 6e 20 31 35 20 74 6f 20 |of bg bt|n 15 to |
|00003e30| 22 4e 20 31 20 4d 61 73 | 74 22 0d 73 65 74 20 74 |"N 1 Mas|t".set t|
|00003e40| 68 65 20 69 63 6f 6e 20 | 6f 66 20 62 67 20 62 74 |he icon |of bg bt|
|00003e50| 6e 20 31 36 20 74 6f 20 | 22 4e 20 33 20 4d 61 73 |n 16 to |"N 3 Mas|
|00003e60| 74 22 0d 73 65 74 20 74 | 68 65 20 69 63 6f 6e 20 |t".set t|he icon |
|00003e70| 6f 66 20 62 67 20 62 74 | 6e 20 31 37 20 74 6f 20 |of bg bt|n 17 to |
|00003e80| 22 4e 20 31 20 4d 61 73 | 74 22 0d 73 65 74 20 74 |"N 1 Mas|t".set t|
|00003e90| 68 65 20 69 63 6f 6e 20 | 6f 66 20 62 67 20 62 74 |he icon |of bg bt|
|00003ea0| 6e 20 31 38 20 74 6f 20 | 22 4e 20 32 20 4d 61 73 |n 18 to |"N 2 Mas|
|00003eb0| 74 22 0d 73 65 74 20 74 | 68 65 20 69 63 6f 6e 20 |t".set t|he icon |
|00003ec0| 6f 66 20 62 67 20 62 74 | 6e 20 31 39 20 74 6f 20 |of bg bt|n 19 to |
|00003ed0| 22 4e 20 34 20 4d 61 73 | 74 22 0d 73 65 74 20 74 |"N 4 Mas|t".set t|
|00003ee0| 68 65 20 69 63 6f 6e 20 | 6f 66 20 62 67 20 62 74 |he icon |of bg bt|
|00003ef0| 6e 20 32 30 20 74 6f 20 | 22 4e 20 32 20 4d 61 73 |n 20 to |"N 2 Mas|
|00003f00| 74 22 0d 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |t"..repe|at with |
|00003f10| 69 20 3d 20 31 20 74 6f | 20 31 30 0d 73 65 74 20 |i = 1 to| 10.set |
|00003f20| 74 68 65 20 6c 6f 63 20 | 6f 66 20 62 67 20 62 74 |the loc |of bg bt|
|00003f30| 6e 20 28 69 20 2b 20 31 | 30 29 20 74 6f 20 28 69 |n (i + 1|0) to (i|
|00003f40| 2a 31 35 2a 32 29 2b 39 | 30 2c 28 31 30 2a 31 35 |*15*2)+9|0,(10*15|
|00003f50| 2a 32 29 0d 73 65 74 20 | 74 68 65 20 68 69 6c 69 |*2).set |the hili|
|00003f60| 74 65 20 6f 66 20 62 67 | 20 62 74 6e 20 28 69 20 |te of bg| btn (i |
|00003f70| 2b 20 31 30 29 20 74 6f | 20 66 61 6c 73 65 0d 73 |+ 10) to| false.s|
|00003f80| 68 6f 77 20 62 67 20 62 | 74 6e 20 28 69 20 2b 20 |how bg b|tn (i + |
|00003f90| 31 30 29 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 |10).end |repeat.e|
|00003fa0| 6e 64 20 41 72 72 61 6e | 67 65 53 68 69 70 73 0d |nd Arran|geShips.|
|00003fb0| 0d 6f 6e 20 42 6c 69 6e | 6b 20 73 68 69 70 0d 73 |.on Blin|k ship.s|
|00003fc0| 65 74 20 74 68 65 20 68 | 69 6c 69 74 65 20 6f 66 |et the h|ilite of|
|00003fd0| 20 62 67 20 62 74 6e 20 | 73 68 69 70 20 74 6f 20 | bg btn |ship to |
|00003fe0| 74 72 75 65 0d 73 65 74 | 20 74 68 65 20 68 69 6c |true.set| the hil|
|00003ff0| 69 74 65 20 6f 66 20 62 | 67 20 62 74 6e 20 73 68 |ite of b|g btn sh|
|00004000| 69 70 20 74 6f 20 66 61 | 6c 73 65 0d 65 6e 64 20 |ip to fa|lse.end |
|00004010| 42 6c 69 6e 6b 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |Blink..f|unction |
|00004020| 42 6c 75 65 57 6f 6e 0d | 67 6c 6f 62 61 6c 20 52 |BlueWon.|global R|
|00004030| 65 64 53 68 69 70 73 2c | 53 6f 75 6e 64 4f 6e 0d |edShips,|SoundOn.|
|00004040| 69 66 20 52 65 64 53 68 | 69 70 73 20 3d 20 30 20 |if RedSh|ips = 0 |
|00004050| 74 68 65 6e 0d 69 66 20 | 53 6f 75 6e 64 4f 6e 20 |then.if |SoundOn |
|00004060| 74 68 65 6e 20 70 6c 61 | 79 20 22 46 6c 75 74 65 |then pla|y "Flute|
|00004070| 22 20 74 65 6d 70 6f 20 | 32 39 30 20 22 63 34 20 |" tempo |290 "c4 |
|00004080| 64 20 67 20 67 20 67 65 | 20 67 20 66 71 20 65 20 |d g g ge| g fq e |
|00004090| 63 71 2e 20 63 65 20 64 | 71 20 67 65 20 67 20 67 |cq. ce d|q ge g g|
|000040a0| 71 20 67 20 66 68 2e 20 | 67 71 20 64 20 67 20 67 |q g fh. |gq d g g|
|000040b0| 20 67 20 66 20 63 35 20 | 63 68 20 66 34 71 20 66 | g f c5 |ch f4q f|
|000040c0| 20 65 20 63 20 64 68 22 | 0d 61 6e 73 77 65 72 20 | e c dh"|.answer |
|000040d0| 22 54 68 65 20 42 6c 75 | 65 20 4e 61 76 79 20 68 |"The Blu|e Navy h|
|000040e0| 61 73 20 77 6f 6e 21 21 | 22 20 77 69 74 68 20 22 |as won!!|" with "|
|000040f0| 59 69 70 70 65 65 65 21 | 22 0d 72 65 74 75 72 6e |Yippeee!|".return|
|00004100| 20 74 72 75 65 0d 65 6c | 73 65 0d 72 65 74 75 72 | true.el|se.retur|
|00004110| 6e 20 66 61 6c 73 65 0d | 65 6e 64 20 69 66 0d 65 |n false.|end if.e|
|00004120| 6e 64 20 42 6c 75 65 57 | 6f 6e 0d 0d 66 75 6e 63 |nd BlueW|on..func|
|00004130| 74 69 6f 6e 20 43 6c 65 | 61 72 50 61 74 68 20 64 |tion Cle|arPath d|
|00004140| 69 72 20 20 2d 2d 64 69 | 72 20 3d 20 53 68 69 70 |ir --di|r = Ship|
|00004150| 49 73 4d 6f 76 69 6e 67 | 20 d9 20 22 76 65 72 74 |IsMoving| . "vert|
|00004160| 69 63 61 6c 22 20 6f 72 | 20 22 68 6f 72 69 7a 6f |ical" or| "horizo|
|00004170| 6e 74 61 6c 22 0d 67 6c | 6f 62 61 6c 20 74 68 65 |ntal".gl|obal the|
|00004180| 53 68 69 70 0d 70 75 74 | 20 74 68 65 20 6c 6f 63 |Ship.put| the loc|
|00004190| 20 6f 66 20 62 67 20 62 | 74 6e 20 74 68 65 53 68 | of bg b|tn theSh|
|000041a0| 69 70 20 69 6e 74 6f 20 | 73 68 70 0d 70 75 74 20 |ip into |shp.put |
|000041b0| 74 68 65 20 6c 6f 63 20 | 6f 66 20 62 67 20 62 74 |the loc |of bg bt|
|000041c0| 6e 20 22 63 6f 75 72 73 | 65 22 20 69 6e 74 6f 20 |n "cours|e" into |
|000041d0| 63 72 73 0d 69 66 20 28 | 73 68 70 20 3d 20 63 72 |crs.if (|shp = cr|
|000041e0| 73 29 20 6f 72 20 28 69 | 74 65 6d 20 31 20 6f 66 |s) or (i|tem 1 of|
|000041f0| 20 63 72 73 20 3d 20 30 | 29 20 6f 72 20 28 69 74 | crs = 0|) or (it|
|00004200| 65 6d 20 32 20 6f 66 20 | 63 72 73 20 3d 20 30 29 |em 2 of |crs = 0)|
|00004210| 20 74 68 65 6e 0d 72 65 | 74 75 72 6e 20 66 61 6c | then.re|turn fal|
|00004220| 73 65 0d 65 78 69 74 20 | 43 6c 65 61 72 50 61 74 |se.exit |ClearPat|
|00004230| 68 0d 65 6e 64 20 69 66 | 0d 69 66 20 64 69 72 20 |h.end if|.if dir |
|00004240| 3d 20 22 76 65 72 74 69 | 63 61 6c 22 20 74 68 65 |= "verti|cal" the|
|00004250| 6e 0d 69 66 20 69 74 65 | 6d 20 32 20 6f 66 20 73 |n.if ite|m 2 of s|
|00004260| 68 70 20 3c 20 69 74 65 | 6d 20 32 20 6f 66 20 63 |hp < ite|m 2 of c|
|00004270| 72 73 20 74 68 65 6e 20 | 20 2d 2d 6d 6f 76 69 6e |rs then | --movin|
|00004280| 67 20 44 4f 57 4e 0d 72 | 65 70 65 61 74 20 77 69 |g DOWN.r|epeat wi|
|00004290| 74 68 20 69 20 3d 20 31 | 20 74 6f 20 32 30 0d 70 |th i = 1| to 20.p|
|000042a0| 75 74 20 74 68 65 20 6c | 6f 63 20 6f 66 20 62 67 |ut the l|oc of bg|
|000042b0| 20 62 74 6e 20 69 20 69 | 6e 74 6f 20 7a 0d 69 66 | btn i i|nto z.if|
|000042c0| 20 28 69 74 65 6d 20 32 | 20 6f 66 20 7a 20 3e 20 | (item 2| of z > |
|000042d0| 69 74 65 6d 20 32 20 6f | 66 20 73 68 70 29 20 61 |item 2 o|f shp) a|
|000042e0| 6e 64 20 28 69 74 65 6d | 20 32 20 6f 66 20 7a 20 |nd (item| 2 of z |
|000042f0| 3c 3d 20 69 74 65 6d 20 | 32 20 6f 66 20 63 72 73 |<= item |2 of crs|
|00004300| 29 20 61 6e 64 20 28 69 | 74 65 6d 20 31 20 6f 66 |) and (i|tem 1 of|
|00004310| 20 7a 20 3d 20 69 74 65 | 6d 20 31 20 6f 66 20 73 | z = ite|m 1 of s|
|00004320| 68 70 29 20 74 68 65 6e | 0d 72 65 74 75 72 6e 20 |hp) then|.return |
|00004330| 66 61 6c 73 65 0d 65 6e | 64 20 69 66 0d 65 6e 64 |false.en|d if.end|
|00004340| 20 72 65 70 65 61 74 0d | 65 6c 73 65 20 20 20 20 | repeat.|else |
|00004350| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2d | | -|
|00004370| 2d 6d 6f 76 69 6e 67 20 | 55 50 0d 72 65 70 65 61 |-moving |UP.repea|
|00004380| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|00004390| 32 30 0d 70 75 74 20 74 | 68 65 20 6c 6f 63 20 6f |20.put t|he loc o|
|000043a0| 66 20 62 67 20 62 74 6e | 20 69 20 69 6e 74 6f 20 |f bg btn| i into |
|000043b0| 7a 0d 69 66 20 28 69 74 | 65 6d 20 32 20 6f 66 20 |z.if (it|em 2 of |
|000043c0| 7a 20 3c 20 69 74 65 6d | 20 32 20 6f 66 20 73 68 |z < item| 2 of sh|
|000043d0| 70 29 20 61 6e 64 20 28 | 69 74 65 6d 20 32 20 6f |p) and (|item 2 o|
|000043e0| 66 20 7a 20 3e 3d 20 69 | 74 65 6d 20 32 20 6f 66 |f z >= i|tem 2 of|
|000043f0| 20 63 72 73 29 20 61 6e | 64 20 28 69 74 65 6d 20 | crs) an|d (item |
|00004400| 31 20 6f 66 20 7a 20 3d | 20 69 74 65 6d 20 31 20 |1 of z =| item 1 |
|00004410| 6f 66 20 73 68 70 29 20 | 74 68 65 6e 0d 72 65 74 |of shp) |then.ret|
|00004420| 75 72 6e 20 66 61 6c 73 | 65 0d 65 6e 64 20 69 66 |urn fals|e.end if|
|00004430| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00004440| 69 66 0d 65 6c 73 65 0d | 69 66 20 69 74 65 6d 20 |if.else.|if item |
|00004450| 31 20 6f 66 20 73 68 70 | 20 3c 20 69 74 65 6d 20 |1 of shp| < item |
|00004460| 31 20 6f 66 20 63 72 73 | 20 74 68 65 6e 20 20 2d |1 of crs| then -|
|00004470| 2d 6d 6f 76 69 6e 67 20 | 52 49 47 48 54 0d 72 65 |-moving |RIGHT.re|
|00004480| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|00004490| 74 6f 20 32 30 0d 70 75 | 74 20 74 68 65 20 6c 6f |to 20.pu|t the lo|
|000044a0| 63 20 6f 66 20 62 67 20 | 62 74 6e 20 69 20 69 6e |c of bg |btn i in|
|000044b0| 74 6f 20 7a 0d 69 66 20 | 28 69 74 65 6d 20 31 20 |to z.if |(item 1 |
|000044c0| 6f 66 20 7a 20 3e 20 69 | 74 65 6d 20 31 20 6f 66 |of z > i|tem 1 of|
|000044d0| 20 73 68 70 29 20 61 6e | 64 20 28 69 74 65 6d 20 | shp) an|d (item |
|000044e0| 31 20 6f 66 20 7a 20 3c | 3d 20 69 74 65 6d 20 31 |1 of z <|= item 1|
|000044f0| 20 6f 66 20 63 72 73 29 | 20 61 6e 64 20 28 69 74 | of crs)| and (it|
|00004500| 65 6d 20 32 20 6f 66 20 | 7a 20 3d 20 69 74 65 6d |em 2 of |z = item|
|00004510| 20 32 20 6f 66 20 73 68 | 70 29 20 74 68 65 6e 0d | 2 of sh|p) then.|
|00004520| 72 65 74 75 72 6e 20 66 | 61 6c 73 65 0d 65 6e 64 |return f|alse.end|
|00004530| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 | if.end |repeat.e|
|00004540| 6c 73 65 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |lse | |
|00004550| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004560| 20 20 20 20 20 20 2d 2d | 6d 6f 76 69 6e 67 20 4c | --|moving L|
|00004570| 45 46 54 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |EFT.repe|at with |
|00004580| 69 20 3d 20 31 20 74 6f | 20 32 30 0d 70 75 74 20 |i = 1 to| 20.put |
|00004590| 74 68 65 20 6c 6f 63 20 | 6f 66 20 62 67 20 62 74 |the loc |of bg bt|
|000045a0| 6e 20 69 20 69 6e 74 6f | 20 7a 0d 69 66 20 28 69 |n i into| z.if (i|
|000045b0| 74 65 6d 20 31 20 6f 66 | 20 7a 20 3c 20 69 74 65 |tem 1 of| z < ite|
|000045c0| 6d 20 31 20 6f 66 20 73 | 68 70 29 20 61 6e 64 20 |m 1 of s|hp) and |
|000045d0| 28 69 74 65 6d 20 31 20 | 6f 66 20 7a 20 3e 3d 20 |(item 1 |of z >= |
|000045e0| 69 74 65 6d 20 31 20 6f | 66 20 63 72 73 29 20 61 |item 1 o|f crs) a|
|000045f0| 6e 64 20 28 69 74 65 6d | 20 32 20 6f 66 20 7a 20 |nd (item| 2 of z |
|00004600| 3d 20 69 74 65 6d 20 32 | 20 6f 66 20 73 68 70 29 |= item 2| of shp)|
|00004610| 20 74 68 65 6e 0d 72 65 | 74 75 72 6e 20 66 61 6c | then.re|turn fal|
|00004620| 73 65 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |se.end i|f.end re|
|00004630| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |peat.end| if.end |
|00004640| 69 66 0d 72 65 74 75 72 | 6e 20 74 72 75 65 0d 65 |if.retur|n true.e|
|00004650| 6e 64 20 43 6c 65 61 72 | 50 61 74 68 0d 0d 6f 6e |nd Clear|Path..on|
|00004660| 20 45 78 70 6c 6f 64 65 | 20 68 69 74 53 68 69 70 | Explode| hitShip|
|00004670| 73 2c 43 6f 6c 6f 75 72 | 0d 67 6c 6f 62 61 6c 20 |s,Colour|.global |
|00004680| 52 65 64 53 68 69 70 73 | 2c 42 6c 75 65 53 68 69 |RedShips|,BlueShi|
|00004690| 70 73 2c 4d 65 72 63 68 | 61 6e 74 53 68 69 70 73 |ps,Merch|antShips|
|000046a0| 2c 53 6f 75 6e 64 4f 6e | 0d 69 66 20 74 68 65 20 |,SoundOn|.if the |
|000046b0| 6e 75 6d 62 65 72 20 6f | 66 20 69 74 65 6d 73 20 |number o|f items |
|000046c0| 6f 66 20 68 69 74 53 68 | 69 70 73 20 3e 20 30 20 |of hitSh|ips > 0 |
|000046d0| 74 68 65 6e 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |then.set| cursor |
|000046e0| 74 6f 20 6e 6f 6e 65 0d | 72 65 70 65 61 74 20 77 |to none.|repeat w|
|000046f0| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 74 68 65 |ith i = |1 to the|
|00004700| 20 6e 75 6d 62 65 72 20 | 6f 66 20 69 74 65 6d 73 | number |of items|
|00004710| 20 6f 66 20 68 69 74 53 | 68 69 70 73 0d 69 66 20 | of hitS|hips.if |
|00004720| 53 6f 75 6e 64 4f 6e 20 | 74 68 65 6e 20 70 6c 61 |SoundOn |then pla|
|00004730| 79 20 22 46 69 72 65 22 | 0d 70 75 74 20 74 68 65 |y "Fire"|.put the|
|00004740| 20 69 63 6f 6e 20 6f 66 | 20 62 67 20 62 74 6e 20 | icon of| bg btn |
|00004750| 28 69 74 65 6d 20 69 20 | 6f 66 20 68 69 74 53 68 |(item i |of hitSh|
|00004760| 69 70 73 29 20 69 6e 74 | 6f 20 73 61 76 65 64 49 |ips) int|o savedI|
|00004770| 63 6f 6e 0d 77 61 69 74 | 20 75 6e 74 69 6c 20 74 |con.wait| until t|
|00004780| 68 65 20 73 6f 75 6e 64 | 20 69 73 20 64 6f 6e 65 |he sound| is done|
|00004790| 0d 69 66 20 53 6f 75 6e | 64 4f 6e 20 74 68 65 6e |.if Soun|dOn then|
|000047a0| 20 70 6c 61 79 20 22 48 | 69 74 22 0d 73 65 74 20 | play "H|it".set |
|000047b0| 74 68 65 20 69 63 6f 6e | 20 6f 66 20 62 67 20 62 |the icon| of bg b|
|000047c0| 74 6e 20 28 69 74 65 6d | 20 69 20 6f 66 20 68 69 |tn (item| i of hi|
|000047d0| 74 53 68 69 70 73 29 20 | 74 6f 20 22 45 78 70 6c |tShips) |to "Expl|
|000047e0| 6f 64 65 22 0d 73 65 74 | 20 74 68 65 20 69 63 6f |ode".set| the ico|
|000047f0| 6e 20 6f 66 20 62 67 20 | 62 74 6e 20 28 69 74 65 |n of bg |btn (ite|
|00004800| 6d 20 69 20 6f 66 20 68 | 69 74 53 68 69 70 73 29 |m i of h|itShips)|
|00004810| 20 74 6f 20 73 61 76 65 | 64 49 63 6f 6e 0d 73 65 | to save|dIcon.se|
|00004820| 74 20 74 68 65 20 69 63 | 6f 6e 20 6f 66 20 62 67 |t the ic|on of bg|
|00004830| 20 62 74 6e 20 28 69 74 | 65 6d 20 69 20 6f 66 20 | btn (it|em i of |
|00004840| 68 69 74 53 68 69 70 73 | 29 20 74 6f 20 22 45 78 |hitShips|) to "Ex|
|00004850| 70 6c 6f 64 65 22 0d 69 | 66 20 28 63 68 61 72 20 |plode".i|f (char |
|00004860| 34 20 6f 66 20 73 61 76 | 65 64 49 63 6f 6e 20 3d |4 of sav|edIcon =|
|00004870| 20 31 29 20 6f 72 20 28 | 69 74 65 6d 20 69 20 6f | 1) or (|item i o|
|00004880| 66 20 68 69 74 53 68 69 | 70 73 20 63 6f 6e 74 61 |f hitShi|ps conta|
|00004890| 69 6e 73 20 22 4d 65 72 | 63 68 61 6e 74 22 29 20 |ins "Mer|chant") |
|000048a0| 74 68 65 6e 0d 68 69 64 | 65 20 62 67 20 62 74 6e |then.hid|e bg btn|
|000048b0| 20 28 69 74 65 6d 20 69 | 20 6f 66 20 68 69 74 53 | (item i| of hitS|
|000048c0| 68 69 70 73 29 0d 73 65 | 74 20 74 68 65 20 6c 6f |hips).se|t the lo|
|000048d0| 63 20 6f 66 20 62 67 20 | 62 74 6e 20 28 69 74 65 |c of bg |btn (ite|
|000048e0| 6d 20 69 20 6f 66 20 68 | 69 74 53 68 69 70 73 29 |m i of h|itShips)|
|000048f0| 20 74 6f 20 30 2c 30 0d | 69 66 20 69 74 65 6d 20 | to 0,0.|if item |
|00004900| 69 20 6f 66 20 68 69 74 | 53 68 69 70 73 20 63 6f |i of hit|Ships co|
|00004910| 6e 74 61 69 6e 73 20 22 | 4d 65 72 63 68 61 6e 74 |ntains "|Merchant|
|00004920| 22 20 74 68 65 6e 0d 73 | 75 62 74 72 61 63 74 20 |" then.s|ubtract |
|00004930| 31 20 66 72 6f 6d 20 4d | 65 72 63 68 61 6e 74 53 |1 from M|erchantS|
|00004940| 68 69 70 73 0d 65 6c 73 | 65 20 69 66 20 43 6f 6c |hips.els|e if Col|
|00004950| 6f 75 72 20 3d 20 22 52 | 65 64 22 20 74 68 65 6e |our = "R|ed" then|
|00004960| 0d 73 75 62 74 72 61 63 | 74 20 31 20 66 72 6f 6d |.subtrac|t 1 from|
|00004970| 20 42 6c 75 65 53 68 69 | 70 73 0d 65 6c 73 65 0d | BlueShi|ps.else.|
|00004980| 73 75 62 74 72 61 63 74 | 20 31 20 66 72 6f 6d 20 |subtract| 1 from |
|00004990| 52 65 64 53 68 69 70 73 | 0d 65 6e 64 20 69 66 0d |RedShips|.end if.|
|000049a0| 65 6c 73 65 0d 73 65 74 | 20 74 68 65 20 69 63 6f |else.set| the ico|
|000049b0| 6e 20 6f 66 20 62 67 20 | 62 74 6e 20 28 69 74 65 |n of bg |btn (ite|
|000049c0| 6d 20 69 20 6f 66 20 68 | 69 74 53 68 69 70 73 29 |m i of h|itShips)|
|000049d0| 20 74 6f 20 73 61 76 65 | 64 49 63 6f 6e 20 2d 20 | to save|dIcon - |
|000049e0| 31 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |1.end if|.end rep|
|000049f0| 65 61 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 45 |eat.end |if.end E|
|00004a00| 78 70 6c 6f 64 65 0d 0d | 66 75 6e 63 74 69 6f 6e |xplode..|function|
|00004a10| 20 46 69 72 65 20 6c 6f | 2c 68 69 0d 67 6c 6f 62 | Fire lo|,hi.glob|
|00004a20| 61 6c 20 74 68 65 53 68 | 69 70 0d 70 75 74 20 65 |al theSh|ip.put e|
|00004a30| 6d 70 74 79 20 69 6e 74 | 6f 20 48 69 74 53 68 69 |mpty int|o HitShi|
|00004a40| 70 73 0d 70 75 74 20 69 | 74 65 6d 20 31 20 6f 66 |ps.put i|tem 1 of|
|00004a50| 20 74 68 65 20 6c 6f 63 | 20 6f 66 20 62 67 20 62 | the loc| of bg b|
|00004a60| 74 6e 20 74 68 65 53 68 | 69 70 20 69 6e 74 6f 20 |tn theSh|ip into |
|00004a70| 78 0d 70 75 74 20 69 74 | 65 6d 20 32 20 6f 66 20 |x.put it|em 2 of |
|00004a80| 74 68 65 20 6c 6f 63 20 | 6f 66 20 62 67 20 62 74 |the loc |of bg bt|
|00004a90| 6e 20 74 68 65 53 68 69 | 70 20 69 6e 74 6f 20 79 |n theShi|p into y|
|00004aa0| 0d 70 75 74 20 63 68 61 | 72 20 31 20 6f 66 20 74 |.put cha|r 1 of t|
|00004ab0| 68 65 20 69 63 6f 6e 20 | 6f 66 20 62 67 20 62 74 |he icon |of bg bt|
|00004ac0| 6e 20 74 68 65 53 68 69 | 70 20 69 6e 74 6f 20 46 |n theShi|p into F|
|00004ad0| 61 63 69 6e 67 0d 69 66 | 20 28 46 61 63 69 6e 67 |acing.if| (Facing|
|00004ae0| 20 3d 20 31 29 20 6f 72 | 20 28 46 61 63 69 6e 67 | = 1) or| (Facing|
|00004af0| 20 3d 20 33 29 20 74 68 | 65 6e 0d 70 75 74 20 22 | = 3) th|en.put "|
|00004b00| 4e 53 22 20 69 6e 74 6f | 20 46 61 63 69 6e 67 0d |NS" into| Facing.|
|00004b10| 65 6c 73 65 0d 70 75 74 | 20 22 45 57 22 20 69 6e |else.put| "EW" in|
|00004b20| 74 6f 20 46 61 63 69 6e | 67 0d 65 6e 64 20 69 66 |to Facin|g.end if|
|00004b30| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 77 |.set cur|sor to w|
|00004b40| 61 74 63 68 0d 2d 2d a5 | a5 a5 a5 a5 a5 20 43 68 |atch.--.|..... Ch|
|00004b50| 65 63 6b 20 66 6f 72 20 | 6d 65 72 63 68 61 6e 74 |eck for |merchant|
|00004b60| 20 73 68 69 70 73 20 a5 | a5 a5 a5 a5 a5 0d 69 66 | ships .|......if|
|00004b70| 20 74 68 65 53 68 69 70 | 20 3e 20 31 30 20 74 68 | theShip| > 10 th|
|00004b80| 65 6e 0d 70 75 74 20 78 | 20 26 20 22 2c 22 20 26 |en.put x| & "," &|
|00004b90| 20 28 79 20 2d 20 33 30 | 29 20 69 6e 74 6f 20 78 | (y - 30|) into x|
|00004ba0| 79 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |y.repeat| with i |
|00004bb0| 3d 20 31 20 74 6f 20 34 | 0d 69 66 20 28 46 61 63 |= 1 to 4|.if (Fac|
|00004bc0| 69 6e 67 20 3d 20 22 45 | 57 22 29 20 61 6e 64 20 |ing = "E|W") and |
|00004bd0| c2 0d 28 78 79 20 69 73 | 20 77 69 74 68 69 6e 20 |..(xy is| within |
|00004be0| 74 68 65 20 72 65 63 74 | 20 6f 66 20 62 67 20 62 |the rect| of bg b|
|00004bf0| 74 6e 20 28 22 4d 65 72 | 63 68 61 6e 74 22 20 26 |tn ("Mer|chant" &|
|00004c00| 20 69 29 29 20 74 68 65 | 6e 0d 70 75 74 20 22 4d | i)) the|n.put "M|
|00004c10| 65 72 63 68 61 6e 74 22 | 20 26 20 69 20 26 20 22 |erchant"| & i & "|
|00004c20| 2c 22 20 61 66 74 65 72 | 20 48 69 74 53 68 69 70 |," after| HitShip|
|00004c30| 73 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |s.end if|.end rep|
|00004c40| 65 61 74 0d 65 6e 64 20 | 69 66 0d 2d 2d a5 a5 a5 |eat.end |if.--...|
|00004c50| a5 a5 a5 20 43 68 65 63 | 6b 20 66 6f 72 20 65 6e |... Chec|k for en|
|00004c60| 65 6d 79 20 73 68 69 70 | 73 20 a5 a5 a5 a5 a5 a5 |emy ship|s ......|
|00004c70| a5 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |..repeat| with i |
|00004c80| 3d 20 6c 6f 20 74 6f 20 | 68 69 0d 69 66 20 28 61 |= lo to |hi.if (a|
|00004c90| 62 73 28 28 69 74 65 6d | 20 31 20 6f 66 20 74 68 |bs((item| 1 of th|
|00004ca0| 65 20 6c 6f 63 20 6f 66 | 20 62 67 20 62 74 6e 20 |e loc of| bg btn |
|00004cb0| 69 29 20 2d 20 78 29 20 | 3d 20 33 30 29 20 61 6e |i) - x) |= 30) an|
|00004cc0| 64 20 c2 20 2d 2d 62 65 | 73 69 64 65 20 68 6f 72 |d . --be|side hor|
|00004cd0| 69 7a 6f 6e 74 61 6c 0d | 28 61 62 73 28 28 69 74 |izontal.|(abs((it|
|00004ce0| 65 6d 20 32 20 6f 66 20 | 74 68 65 20 6c 6f 63 20 |em 2 of |the loc |
|00004cf0| 6f 66 20 62 67 20 62 74 | 6e 20 69 29 20 2d 20 79 |of bg bt|n i) - y|
|00004d00| 29 20 3d 20 30 29 20 61 | 6e 64 20 c2 20 2d 2d 73 |) = 0) a|nd . --s|
|00004d10| 61 6d 65 20 76 65 72 74 | 69 63 61 6c 0d 28 46 61 |ame vert|ical.(Fa|
|00004d20| 63 69 6e 67 20 3d 20 22 | 4e 53 22 29 20 4f 52 20 |cing = "|NS") OR |
|00004d30| c2 0d 28 61 62 73 28 28 | 69 74 65 6d 20 32 20 6f |..(abs((|item 2 o|
|00004d40| 66 20 74 68 65 20 6c 6f | 63 20 6f 66 20 62 67 20 |f the lo|c of bg |
|00004d50| 62 74 6e 20 69 29 20 2d | 20 79 29 20 3d 20 33 30 |btn i) -| y) = 30|
|00004d60| 29 20 61 6e 64 20 c2 20 | 2d 2d 62 65 73 69 64 65 |) and . |--beside|
|00004d70| 20 76 65 72 74 69 63 61 | 6c 0d 28 61 62 73 28 28 | vertica|l.(abs((|
|00004d80| 69 74 65 6d 20 31 20 6f | 66 20 74 68 65 20 6c 6f |item 1 o|f the lo|
|00004d90| 63 20 6f 66 20 62 67 20 | 62 74 6e 20 69 29 20 2d |c of bg |btn i) -|
|00004da0| 20 78 29 20 3d 20 30 29 | 20 61 6e 64 20 c2 20 2d | x) = 0)| and . -|
|00004db0| 2d 73 61 6d 65 20 68 6f | 72 69 7a 6f 6e 74 61 6c |-same ho|rizontal|
|00004dc0| 0d 28 46 61 63 69 6e 67 | 20 3d 20 22 45 57 22 29 |.(Facing| = "EW")|
|00004dd0| 20 74 68 65 6e 0d 70 75 | 74 20 69 20 26 20 22 2c | then.pu|t i & ",|
|00004de0| 22 20 61 66 74 65 72 20 | 48 69 74 53 68 69 70 73 |" after |HitShips|
|00004df0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|00004e00| 61 74 0d 64 65 6c 65 74 | 65 20 6c 61 73 74 20 63 |at.delet|e last c|
|00004e10| 68 61 72 20 6f 66 20 48 | 69 74 53 68 69 70 73 0d |har of H|itShips.|
|00004e20| 72 65 74 75 72 6e 20 48 | 69 74 53 68 69 70 73 0d |return H|itShips.|
|00004e30| 65 6e 64 20 46 69 72 65 | 0d 0d 66 75 6e 63 74 69 |end Fire|..functi|
|00004e40| 6f 6e 20 47 65 74 53 68 | 69 70 20 6c 6f 2c 68 69 |on GetSh|ip lo,hi|
|00004e50| 0d 67 6c 6f 62 61 6c 20 | 50 61 75 73 65 47 61 6d |.global |PauseGam|
|00004e60| 65 0d 70 75 74 20 66 61 | 6c 73 65 20 69 6e 74 6f |e.put fa|lse into|
|00004e70| 20 6f 6b 0d 72 65 70 65 | 61 74 20 75 6e 74 69 6c | ok.repe|at until|
|00004e80| 20 6f 6b 0d 77 61 69 74 | 20 75 6e 74 69 6c 20 74 | ok.wait| until t|
|00004e90| 68 65 20 6d 6f 75 73 65 | 20 69 73 20 64 6f 77 6e |he mouse| is down|
|00004ea0| 0d 70 75 74 20 74 68 65 | 20 6d 6f 75 73 65 6c 6f |.put the| mouselo|
|00004eb0| 63 20 69 6e 74 6f 20 53 | 61 76 65 64 4c 6f 63 0d |c into S|avedLoc.|
|00004ec0| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00004ed0| 31 20 74 6f 20 32 30 0d | 69 66 20 28 53 61 76 65 |1 to 20.|if (Save|
|00004ee0| 64 4c 6f 63 20 69 73 20 | 77 69 74 68 69 6e 20 74 |dLoc is |within t|
|00004ef0| 68 65 20 72 65 63 74 20 | 6f 66 20 62 67 20 62 74 |he rect |of bg bt|
|00004f00| 6e 20 69 29 20 61 6e 64 | 20 c2 0d 28 69 20 3e 3d |n i) and| ..(i >=|
|00004f10| 20 6c 6f 29 20 61 6e 64 | 20 28 69 20 3c 3d 20 68 | lo) and| (i <= h|
|00004f20| 69 29 20 74 68 65 6e 0d | 70 75 74 20 74 72 75 65 |i) then.|put true|
|00004f30| 20 69 6e 74 6f 20 6f 6b | 0d 70 75 74 20 69 20 69 | into ok|.put i i|
|00004f40| 6e 74 6f 20 78 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nto x.en|d if.end|
|00004f50| 20 72 65 70 65 61 74 0d | 69 66 20 6e 6f 74 20 6f | repeat.|if not o|
|00004f60| 6b 20 74 68 65 6e 0d 69 | 66 20 53 61 76 65 64 4c |k then.i|f SavedL|
|00004f70| 6f 63 20 69 73 20 77 69 | 74 68 69 6e 20 72 65 63 |oc is wi|thin rec|
|00004f80| 74 20 6f 66 20 62 67 20 | 62 74 6e 20 22 50 61 75 |t of bg |btn "Pau|
|00004f90| 73 65 22 20 74 68 65 6e | 0d 70 75 74 20 74 72 75 |se" then|.put tru|
|00004fa0| 65 20 69 6e 74 6f 20 50 | 61 75 73 65 47 61 6d 65 |e into P|auseGame|
|00004fb0| 0d 70 75 74 20 74 72 75 | 65 20 69 6e 74 6f 20 6f |.put tru|e into o|
|00004fc0| 6b 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |k.end if|.end if.|
|00004fd0| 65 6e 64 20 72 65 70 65 | 61 74 0d 69 66 20 74 68 |end repe|at.if th|
|00004fe0| 65 20 6d 6f 75 73 65 20 | 69 73 20 64 6f 77 6e 20 |e mouse |is down |
|00004ff0| 74 68 65 6e 20 77 61 69 | 74 20 75 6e 74 69 6c 20 |then wai|t until |
|00005000| 74 68 65 20 6d 6f 75 73 | 65 20 69 73 20 75 70 0d |the mous|e is up.|
|00005010| 72 65 74 75 72 6e 20 78 | 0d 65 6e 64 20 47 65 74 |return x|.end Get|
|00005020| 53 68 69 70 0d 0d 6f 6e | 20 4d 6f 76 65 53 68 69 |Ship..on| MoveShi|
|00005030| 70 0d 67 6c 6f 62 61 6c | 20 74 68 65 53 68 69 70 |p.global| theShip|
|00005040| 2c 74 68 65 43 6f 75 72 | 73 65 0d 70 75 74 20 69 |,theCour|se.put i|
|00005050| 74 65 6d 20 31 20 6f 66 | 20 74 68 65 20 6c 6f 63 |tem 1 of| the loc|
|00005060| 20 6f 66 20 62 67 20 62 | 74 6e 20 74 68 65 53 68 | of bg b|tn theSh|
|00005070| 69 70 20 69 6e 74 6f 20 | 78 0d 70 75 74 20 69 74 |ip into |x.put it|
|00005080| 65 6d 20 32 20 6f 66 20 | 74 68 65 20 6c 6f 63 20 |em 2 of |the loc |
|00005090| 6f 66 20 62 67 20 62 74 | 6e 20 74 68 65 53 68 69 |of bg bt|n theShi|
|000050a0| 70 20 69 6e 74 6f 20 79 | 0d 70 75 74 20 74 68 65 |p into y|.put the|
|000050b0| 20 69 63 6f 6e 20 6f 66 | 20 62 67 20 62 74 6e 20 | icon of| bg btn |
|000050c0| 74 68 65 53 68 69 70 20 | 69 6e 74 6f 20 4d 61 73 |theShip |into Mas|
|000050d0| 74 73 0d 64 65 6c 65 74 | 65 20 63 68 61 72 20 31 |ts.delet|e char 1|
|000050e0| 20 74 6f 20 33 20 6f 66 | 20 4d 61 73 74 73 0d 69 | to 3 of| Masts.i|
|000050f0| 66 20 69 74 65 6d 20 31 | 20 6f 66 20 74 68 65 43 |f item 1| of theC|
|00005100| 6f 75 72 73 65 20 3e 20 | 78 20 74 68 65 6e 0d 2d |ourse > |x then.-|
|00005110| 2d 65 61 73 74 0d 73 65 | 74 20 74 68 65 20 69 63 |-east.se|t the ic|
|00005120| 6f 6e 20 6f 66 20 62 67 | 20 62 74 6e 20 74 68 65 |on of bg| btn the|
|00005130| 53 68 69 70 20 74 6f 20 | 4d 61 73 74 73 20 2b 20 |Ship to |Masts + |
|00005140| 32 30 30 30 0d 70 75 74 | 20 33 30 20 69 6e 74 6f |2000.put| 30 into|
|00005150| 20 64 69 72 0d 65 6c 73 | 65 20 69 66 20 69 74 65 | dir.els|e if ite|
|00005160| 6d 20 31 20 6f 66 20 74 | 68 65 43 6f 75 72 73 65 |m 1 of t|heCourse|
|00005170| 20 3c 20 78 20 74 68 65 | 6e 0d 2d 2d 77 65 73 74 | < x the|n.--west|
|00005180| 0d 73 65 74 20 74 68 65 | 20 69 63 6f 6e 20 6f 66 |.set the| icon of|
|00005190| 20 62 67 20 62 74 6e 20 | 74 68 65 53 68 69 70 20 | bg btn |theShip |
|000051a0| 74 6f 20 4d 61 73 74 73 | 20 2b 20 34 30 30 30 0d |to Masts| + 4000.|
|000051b0| 70 75 74 20 2d 33 30 20 | 69 6e 74 6f 20 64 69 72 |put -30 |into dir|
|000051c0| 0d 65 6c 73 65 20 69 66 | 20 69 74 65 6d 20 32 20 |.else if| item 2 |
|000051d0| 6f 66 20 74 68 65 43 6f | 75 72 73 65 20 3e 20 79 |of theCo|urse > y|
|000051e0| 20 74 68 65 6e 0d 2d 2d | 73 6f 75 74 68 0d 73 65 | then.--|south.se|
|000051f0| 74 20 74 68 65 20 69 63 | 6f 6e 20 6f 66 20 62 67 |t the ic|on of bg|
|00005200| 20 62 74 6e 20 74 68 65 | 53 68 69 70 20 74 6f 20 | btn the|Ship to |
|00005210| 4d 61 73 74 73 20 2b 20 | 33 30 30 30 0d 70 75 74 |Masts + |3000.put|
|00005220| 20 33 30 20 69 6e 74 6f | 20 64 69 72 0d 65 6c 73 | 30 into| dir.els|
|00005230| 65 20 69 66 20 69 74 65 | 6d 20 32 20 6f 66 20 74 |e if ite|m 2 of t|
|00005240| 68 65 43 6f 75 72 73 65 | 20 3c 20 79 20 74 68 65 |heCourse| < y the|
|00005250| 6e 0d 2d 2d 6e 6f 72 74 | 68 0d 73 65 74 20 74 68 |n.--nort|h.set th|
|00005260| 65 20 69 63 6f 6e 20 6f | 66 20 62 67 20 62 74 6e |e icon o|f bg btn|
|00005270| 20 74 68 65 53 68 69 70 | 20 74 6f 20 4d 61 73 74 | theShip| to Mast|
|00005280| 73 20 2b 20 31 30 30 30 | 0d 70 75 74 20 2d 33 30 |s + 1000|.put -30|
|00005290| 20 69 6e 74 6f 20 64 69 | 72 0d 65 6e 64 20 69 66 | into di|r.end if|
|000052a0| 0d 69 66 20 28 63 68 61 | 72 20 31 20 6f 66 20 74 |.if (cha|r 1 of t|
|000052b0| 68 65 20 69 63 6f 6e 20 | 6f 66 20 62 67 20 62 74 |he icon |of bg bt|
|000052c0| 6e 20 74 68 65 53 68 69 | 70 20 3d 20 31 29 20 6f |n theShi|p = 1) o|
|000052d0| 72 20 28 63 68 61 72 20 | 31 20 6f 66 20 74 68 65 |r (char |1 of the|
|000052e0| 20 69 63 6f 6e 20 6f 66 | 20 62 67 20 62 74 6e 20 | icon of| bg btn |
|000052f0| 74 68 65 53 68 69 70 20 | 3d 20 33 29 20 74 68 65 |theShip |= 3) the|
|00005300| 6e 0d 2d 2d 6e 6f 72 74 | 68 2f 73 6f 75 74 68 0d |n.--nort|h/south.|
|00005310| 72 65 70 65 61 74 20 75 | 6e 74 69 6c 20 74 68 65 |repeat u|ntil the|
|00005320| 20 6c 6f 63 20 6f 66 20 | 62 67 20 62 74 6e 20 74 | loc of |bg btn t|
|00005330| 68 65 53 68 69 70 20 3d | 20 74 68 65 43 6f 75 72 |heShip =| theCour|
|00005340| 73 65 0d 70 75 74 20 69 | 74 65 6d 20 31 20 6f 66 |se.put i|tem 1 of|
|00005350| 20 74 68 65 20 6c 6f 63 | 20 6f 66 20 62 67 20 62 | the loc| of bg b|
|00005360| 74 6e 20 74 68 65 53 68 | 69 70 20 69 6e 74 6f 20 |tn theSh|ip into |
|00005370| 78 0d 70 75 74 20 28 69 | 74 65 6d 20 32 20 6f 66 |x.put (i|tem 2 of|
|00005380| 20 74 68 65 20 6c 6f 63 | 20 6f 66 20 62 67 20 62 | the loc| of bg b|
|00005390| 74 6e 20 74 68 65 53 68 | 69 70 29 20 2b 20 64 69 |tn theSh|ip) + di|
|000053a0| 72 20 69 6e 74 6f 20 79 | 0d 69 66 20 6e 6f 74 20 |r into y|.if not |
|000053b0| 4f 6e 4c 61 6e 64 28 78 | 2c 79 29 20 74 68 65 6e |OnLand(x|,y) then|
|000053c0| 0d 73 65 74 20 74 68 65 | 20 6c 6f 63 20 6f 66 20 |.set the| loc of |
|000053d0| 62 67 20 62 74 6e 20 74 | 68 65 53 68 69 70 20 74 |bg btn t|heShip t|
|000053e0| 6f 20 78 2c 79 0d 65 6c | 73 65 0d 62 65 65 70 0d |o x,y.el|se.beep.|
|000053f0| 65 78 69 74 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |exit rep|eat.end |
|00005400| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6c |if.end r|epeat.el|
|00005410| 73 65 0d 2d 2d 65 61 73 | 74 2f 77 65 73 74 0d 72 |se.--eas|t/west.r|
|00005420| 65 70 65 61 74 20 75 6e | 74 69 6c 20 74 68 65 20 |epeat un|til the |
|00005430| 6c 6f 63 20 6f 66 20 62 | 67 20 62 74 6e 20 74 68 |loc of b|g btn th|
|00005440| 65 53 68 69 70 20 3d 20 | 74 68 65 43 6f 75 72 73 |eShip = |theCours|
|00005450| 65 0d 70 75 74 20 28 69 | 74 65 6d 20 31 20 6f 66 |e.put (i|tem 1 of|
|00005460| 20 74 68 65 20 6c 6f 63 | 20 6f 66 20 62 67 20 62 | the loc| of bg b|
|00005470| 74 6e 20 74 68 65 53 68 | 69 70 29 20 2b 20 64 69 |tn theSh|ip) + di|
|00005480| 72 20 69 6e 74 6f 20 78 | 0d 70 75 74 20 69 74 65 |r into x|.put ite|
|00005490| 6d 20 32 20 6f 66 20 74 | 68 65 20 6c 6f 63 20 6f |m 2 of t|he loc o|
|000054a0| 66 20 62 67 20 62 74 6e | 20 74 68 65 53 68 69 70 |f bg btn| theShip|
|000054b0| 20 69 6e 74 6f 20 79 0d | 69 66 20 6e 6f 74 20 4f | into y.|if not O|
|000054c0| 6e 4c 61 6e 64 28 78 2c | 79 29 20 74 68 65 6e 0d |nLand(x,|y) then.|
|000054d0| 73 65 74 20 74 68 65 20 | 6c 6f 63 20 6f 66 20 62 |set the |loc of b|
|000054e0| 67 20 62 74 6e 20 74 68 | 65 53 68 69 70 20 74 6f |g btn th|eShip to|
|000054f0| 20 78 2c 79 0d 65 6c 73 | 65 0d 62 65 65 70 0d 65 | x,y.els|e.beep.e|
|00005500| 78 69 74 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |xit repe|at.end i|
|00005510| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |f.end re|peat.end|
|00005520| 20 69 66 0d 68 69 64 65 | 20 62 67 20 62 74 6e 20 | if.hide| bg btn |
|00005530| 22 43 6f 75 72 73 65 22 | 0d 65 6e 64 20 4d 6f 76 |"Course"|.end Mov|
|00005540| 65 53 68 69 70 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |eShip..f|unction |
|00005550| 4f 6e 4c 61 6e 64 20 78 | 2c 79 0d 67 6c 6f 62 61 |OnLand x|,y.globa|
|00005560| 6c 20 74 68 65 53 68 69 | 70 0d 70 75 74 20 66 61 |l theShi|p.put fa|
|00005570| 6c 73 65 20 69 6e 74 6f | 20 42 61 6e 67 6f 0d 72 |lse into| Bango.r|
|00005580| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 32 |epeat wi|th i = 2|
|00005590| 35 20 74 6f 20 32 37 0d | 69 66 20 28 28 78 20 26 |5 to 27.|if ((x &|
|000055a0| 20 22 2c 22 20 26 20 79 | 29 20 69 73 20 77 69 74 | "," & y|) is wit|
|000055b0| 68 69 6e 20 74 68 65 20 | 72 65 63 74 20 6f 66 20 |hin the |rect of |
|000055c0| 62 67 20 62 74 6e 20 69 | 20 29 20 74 68 65 6e 0d |bg btn i| ) then.|
|000055d0| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 42 61 |put true| into Ba|
|000055e0| 6e 67 6f 0d 65 78 69 74 | 20 72 65 70 65 61 74 0d |ngo.exit| repeat.|
|000055f0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|00005600| 74 0d 72 65 74 75 72 6e | 20 42 61 6e 67 6f 0d 65 |t.return| Bango.e|
|00005610| 6e 64 20 4f 6e 4c 61 6e | 64 0d 0d 66 75 6e 63 74 |nd OnLan|d..funct|
|00005620| 69 6f 6e 20 50 6c 6f 74 | 43 6f 75 72 73 65 0d 67 |ion Plot|Course.g|
|00005630| 6c 6f 62 61 6c 20 74 68 | 65 53 68 69 70 0d 2d 2d |lobal th|eShip.--|
|00005640| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 6e 6f |set curs|or to no|
|00005650| 6e 65 0d 70 75 74 20 66 | 61 6c 73 65 20 69 6e 74 |ne.put f|alse int|
|00005660| 6f 20 6f 6b 79 44 6f 6b | 79 0d 73 65 74 20 74 68 |o okyDok|y.set th|
|00005670| 65 20 6c 6f 63 20 6f 66 | 20 62 67 20 62 74 6e 20 |e loc of| bg btn |
|00005680| 22 43 6f 75 72 73 65 22 | 20 74 6f 20 28 28 69 74 |"Course"| to ((it|
|00005690| 65 6d 20 31 20 6f 66 20 | 74 68 65 20 6d 6f 75 73 |em 1 of |the mous|
|000056a0| 65 6c 6f 63 20 2b 20 31 | 30 29 20 64 69 76 20 33 |eloc + 1|0) div 3|
|000056b0| 30 29 2a 33 30 2c 28 28 | 69 74 65 6d 20 32 20 6f |0)*30,((|item 2 o|
|000056c0| 66 20 74 68 65 20 6d 6f | 75 73 65 6c 6f 63 20 2d |f the mo|useloc -|
|000056d0| 20 32 30 29 20 64 69 76 | 20 33 30 29 2a 33 30 2b | 20) div| 30)*30+|
|000056e0| 33 30 0d 73 68 6f 77 20 | 62 67 20 62 74 6e 20 22 |30.show |bg btn "|
|000056f0| 63 6f 75 72 73 65 22 0d | 70 75 74 20 69 74 65 6d |course".|put item|
|00005700| 20 31 20 6f 66 20 74 68 | 65 20 6c 6f 63 20 6f 66 | 1 of th|e loc of|
|00005710| 20 62 67 20 62 74 6e 20 | 74 68 65 53 68 69 70 20 | bg btn |theShip |
|00005720| 69 6e 74 6f 20 78 0d 70 | 75 74 20 69 74 65 6d 20 |into x.p|ut item |
|00005730| 32 20 6f 66 20 74 68 65 | 20 6c 6f 63 20 6f 66 20 |2 of the| loc of |
|00005740| 62 67 20 62 74 6e 20 74 | 68 65 53 68 69 70 20 69 |bg btn t|heShip i|
|00005750| 6e 74 6f 20 79 0d 72 65 | 70 65 61 74 0d 72 65 70 |nto y.re|peat.rep|
|00005760| 65 61 74 20 75 6e 74 69 | 6c 20 74 68 65 20 6d 6f |eat unti|l the mo|
|00005770| 75 73 65 20 69 73 20 64 | 6f 77 6e 0d 42 6c 69 6e |use is d|own.Blin|
|00005780| 6b 20 74 68 65 53 68 69 | 70 0d 69 66 20 61 62 73 |k theShi|p.if abs|
|00005790| 28 69 74 65 6d 20 31 20 | 6f 66 20 74 68 65 20 6d |(item 1 |of the m|
|000057a0| 6f 75 73 65 6c 6f 63 20 | 2d 20 78 29 20 3c 20 61 |ouseloc |- x) < a|
|000057b0| 62 73 28 69 74 65 6d 20 | 32 20 6f 66 20 74 68 65 |bs(item |2 of the|
|000057c0| 20 6d 6f 75 73 65 6c 6f | 63 20 2d 20 79 29 20 74 | mouselo|c - y) t|
|000057d0| 68 65 6e 0d 73 65 74 20 | 74 68 65 20 6c 6f 63 20 |hen.set |the loc |
|000057e0| 6f 66 20 62 67 20 62 74 | 6e 20 22 43 6f 75 72 73 |of bg bt|n "Cours|
|000057f0| 65 22 20 74 6f 20 78 2c | 28 28 69 74 65 6d 20 32 |e" to x,|((item 2|
|00005800| 20 6f 66 20 74 68 65 20 | 6d 6f 75 73 65 6c 6f 63 | of the |mouseloc|
|00005810| 20 2d 20 32 30 29 20 64 | 69 76 20 33 30 29 2a 33 | - 20) d|iv 30)*3|
|00005820| 30 2b 33 30 0d 70 75 74 | 20 22 76 65 72 74 69 63 |0+30.put| "vertic|
|00005830| 61 6c 22 20 69 6e 74 6f | 20 53 68 69 70 49 73 4d |al" into| ShipIsM|
|00005840| 6f 76 69 6e 67 0d 65 6c | 73 65 0d 73 65 74 20 74 |oving.el|se.set t|
|00005850| 68 65 20 6c 6f 63 20 6f | 66 20 62 67 20 62 74 6e |he loc o|f bg btn|
|00005860| 20 22 43 6f 75 72 73 65 | 22 20 74 6f 20 28 28 69 | "Course|" to ((i|
|00005870| 74 65 6d 20 31 20 6f 66 | 20 74 68 65 20 6d 6f 75 |tem 1 of| the mou|
|00005880| 73 65 6c 6f 63 20 2b 20 | 31 30 29 20 64 69 76 20 |seloc + |10) div |
|00005890| 33 30 29 2a 33 30 2c 79 | 0d 70 75 74 20 22 68 6f |30)*30,y|.put "ho|
|000058a0| 72 69 7a 6f 6e 74 61 6c | 22 20 69 6e 74 6f 20 53 |rizontal|" into S|
|000058b0| 68 69 70 49 73 4d 6f 76 | 69 6e 67 0d 65 6e 64 20 |hipIsMov|ing.end |
|000058c0| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 69 66 |if.end r|epeat.if|
|000058d0| 20 74 68 65 20 6c 6f 63 | 20 6f 66 20 62 67 20 62 | the loc| of bg b|
|000058e0| 74 6e 20 22 43 6f 75 72 | 73 65 22 20 ad 20 74 68 |tn "Cour|se" . th|
|000058f0| 65 20 6c 6f 63 20 6f 66 | 20 62 67 20 62 74 6e 20 |e loc of| bg btn |
|00005900| 74 68 65 53 68 69 70 20 | 74 68 65 6e 0d 70 75 74 |theShip |then.put|
|00005910| 20 74 72 75 65 20 69 6e | 74 6f 20 6f 6b 79 44 6f | true in|to okyDo|
|00005920| 6b 79 0d 65 6e 64 20 69 | 66 0d 69 66 20 43 6c 65 |ky.end i|f.if Cle|
|00005930| 61 72 50 61 74 68 28 53 | 68 69 70 49 73 4d 6f 76 |arPath(S|hipIsMov|
|00005940| 69 6e 67 29 20 20 61 6e | 64 20 6e 6f 74 28 4f 6e |ing) an|d not(On|
|00005950| 4c 61 6e 64 28 69 74 65 | 6d 20 31 20 6f 66 20 74 |Land(ite|m 1 of t|
|00005960| 68 65 20 6c 6f 63 20 6f | 66 20 62 67 20 62 74 6e |he loc o|f bg btn|
|00005970| 20 22 63 6f 75 72 73 65 | 22 2c 69 74 65 6d 20 32 | "course|",item 2|
|00005980| 20 6f 66 20 74 68 65 20 | 6c 6f 63 20 6f 66 20 62 | of the |loc of b|
|00005990| 67 20 62 74 6e 20 22 63 | 6f 75 72 73 65 22 29 29 |g btn "c|ourse"))|
|000059a0| 20 74 68 65 6e 20 65 78 | 69 74 20 72 65 70 65 61 | then ex|it repea|
|000059b0| 74 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 69 66 20 |t.end re|peat.if |
|000059c0| 74 68 65 20 6d 6f 75 73 | 65 20 69 73 20 64 6f 77 |the mous|e is dow|
|000059d0| 6e 20 74 68 65 6e 20 77 | 61 69 74 20 75 6e 74 69 |n then w|ait unti|
|000059e0| 6c 20 74 68 65 20 6d 6f | 75 73 65 20 69 73 20 75 |l the mo|use is u|
|000059f0| 70 0d 72 65 74 75 72 6e | 20 74 68 65 20 6c 6f 63 |p.return| the loc|
|00005a00| 20 6f 66 20 62 67 20 62 | 74 6e 20 22 43 6f 75 72 | of bg b|tn "Cour|
|00005a10| 73 65 22 0d 65 6e 64 20 | 50 6c 6f 74 43 6f 75 72 |se".end |PlotCour|
|00005a20| 73 65 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 52 65 64 |se..func|tion Red|
|00005a30| 57 6f 6e 0d 67 6c 6f 62 | 61 6c 20 4d 65 72 63 68 |Won.glob|al Merch|
|00005a40| 61 6e 74 53 68 69 70 73 | 2c 42 6c 75 65 53 68 69 |antShips|,BlueShi|
|00005a50| 70 73 2c 53 6f 75 6e 64 | 4f 6e 0d 69 66 20 42 6c |ps,Sound|On.if Bl|
|00005a60| 75 65 53 68 69 70 73 20 | 3d 20 30 20 74 68 65 6e |ueShips |= 0 then|
|00005a70| 0d 69 66 20 53 6f 75 6e | 64 4f 6e 20 74 68 65 6e |.if Soun|dOn then|
|00005a80| 20 70 6c 61 79 20 22 46 | 6c 75 74 65 22 20 74 65 | play "F|lute" te|
|00005a90| 6d 70 6f 20 32 39 30 20 | 22 63 34 20 64 20 67 20 |mpo 290 |"c4 d g |
|00005aa0| 67 20 67 65 20 67 20 66 | 71 20 65 20 63 71 2e 20 |g ge g f|q e cq. |
|00005ab0| 63 65 20 64 71 20 67 65 | 20 67 20 67 71 20 67 20 |ce dq ge| g gq g |
|00005ac0| 66 68 2e 20 67 71 20 64 | 20 67 20 67 20 67 20 66 |fh. gq d| g g g f|
|00005ad0| 20 63 35 20 63 68 20 66 | 34 71 20 66 20 65 20 63 | c5 ch f|4q f e c|
|00005ae0| 20 64 68 22 0d 61 6e 73 | 77 65 72 20 22 54 68 65 | dh".ans|wer "The|
|00005af0| 20 42 6c 75 65 20 4e 61 | 76 79 20 69 73 20 6f 75 | Blue Na|vy is ou|
|00005b00| 74 20 6f 66 20 77 61 72 | 73 68 69 70 73 2c 20 73 |t of war|ships, s|
|00005b10| 6f 20 74 68 65 20 52 65 | 64 20 4e 61 76 79 20 77 |o the Re|d Navy w|
|00005b20| 69 6e 73 20 62 79 20 64 | 65 66 61 75 6c 74 2e 22 |ins by d|efault."|
|00005b30| 20 77 69 74 68 20 22 59 | 65 61 68 21 22 0d 72 65 | with "Y|eah!".re|
|00005b40| 74 75 72 6e 20 74 72 75 | 65 0d 65 6c 73 65 20 69 |turn tru|e.else i|
|00005b50| 66 20 4d 65 72 63 68 61 | 6e 74 53 68 69 70 73 20 |f Mercha|ntShips |
|00005b60| 3d 20 30 20 74 68 65 6e | 0d 69 66 20 53 6f 75 6e |= 0 then|.if Soun|
|00005b70| 64 4f 6e 20 74 68 65 6e | 20 70 6c 61 79 20 22 46 |dOn then| play "F|
|00005b80| 6c 75 74 65 22 20 74 65 | 6d 70 6f 20 32 39 30 20 |lute" te|mpo 290 |
|00005b90| 22 63 34 20 64 20 67 20 | 67 20 67 65 20 67 20 66 |"c4 d g |g ge g f|
|00005ba0| 71 20 65 20 63 71 2e 20 | 63 65 20 64 71 20 67 65 |q e cq. |ce dq ge|
|00005bb0| 20 67 20 67 71 20 67 20 | 66 68 2e 20 67 71 20 64 | g gq g |fh. gq d|
|00005bc0| 20 67 20 67 20 67 20 66 | 20 63 35 20 63 68 20 66 | g g g f| c5 ch f|
|00005bd0| 34 71 20 66 20 65 20 63 | 20 64 68 22 0d 61 6e 73 |4q f e c| dh".ans|
|00005be0| 77 65 72 20 22 54 68 65 | 20 52 65 64 20 4e 61 76 |wer "The| Red Nav|
|00005bf0| 79 20 68 61 73 20 77 6f | 6e 21 21 22 20 77 69 74 |y has wo|n!!" wit|
|00005c00| 68 20 22 59 65 65 68 61 | 61 21 22 0d 72 65 74 75 |h "Yeeha|a!".retu|
|00005c10| 72 6e 20 74 72 75 65 0d | 65 6c 73 65 0d 72 65 74 |rn true.|else.ret|
|00005c20| 75 72 6e 20 66 61 6c 73 | 65 0d 65 6e 64 20 69 66 |urn fals|e.end if|
|00005c30| 0d 65 6e 64 20 52 65 64 | 57 6f 6e 0d 0d 6f 6e 20 |.end Red|Won..on |
|00005c40| 52 65 74 75 72 6e 46 69 | 72 65 20 73 68 69 70 73 |ReturnFi|re ships|
|00005c50| 2c 63 6f 6c 6f 75 72 0d | 67 6c 6f 62 61 6c 20 74 |,colour.|global t|
|00005c60| 68 65 53 68 69 70 0d 69 | 66 20 74 68 65 20 6e 75 |heShip.i|f the nu|
|00005c70| 6d 62 65 72 20 6f 66 20 | 69 74 65 6d 73 20 6f 66 |mber of |items of|
|00005c80| 20 73 68 69 70 73 20 3e | 20 30 20 74 68 65 6e 0d | ships >| 0 then.|
|00005c90| 69 66 20 63 6f 6c 6f 75 | 72 20 3d 20 22 52 65 64 |if colou|r = "Red|
|00005ca0| 22 20 74 68 65 6e 0d 70 | 75 74 20 22 42 6c 75 65 |" then.p|ut "Blue|
|00005cb0| 22 20 69 6e 74 6f 20 63 | 6f 6c 6f 75 72 0d 65 6c |" into c|olour.el|
|00005cc0| 73 65 0d 70 75 74 20 22 | 52 65 64 22 20 69 6e 74 |se.put "|Red" int|
|00005cd0| 6f 20 63 6f 6c 6f 75 72 | 0d 65 6e 64 20 69 66 0d |o colour|.end if.|
|00005ce0| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00005cf0| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|00005d00| 6f 66 20 69 74 65 6d 73 | 20 6f 66 20 73 68 69 70 |of items| of ship|
|00005d10| 73 0d 69 66 20 28 74 68 | 65 20 76 69 73 69 62 6c |s.if (th|e visibl|
|00005d20| 65 20 6f 66 20 62 67 20 | 62 74 6e 20 28 69 74 65 |e of bg |btn (ite|
|00005d30| 6d 20 69 20 6f 66 20 73 | 68 69 70 73 29 29 20 61 |m i of s|hips)) a|
|00005d40| 6e 64 20 c2 0d 28 28 63 | 68 61 72 20 31 20 6f 66 |nd ..((c|har 1 of|
|00005d50| 20 74 68 65 20 69 63 6f | 6e 20 6f 66 20 62 67 20 | the ico|n of bg |
|00005d60| 62 74 6e 20 28 69 74 65 | 6d 20 69 20 6f 66 20 73 |btn (ite|m i of s|
|00005d70| 68 69 70 73 29 29 20 6d | 6f 64 20 32 20 3d 20 28 |hips)) m|od 2 = (|
|00005d80| 63 68 61 72 20 31 20 6f | 66 20 74 68 65 20 69 63 |char 1 o|f the ic|
|00005d90| 6f 6e 20 6f 66 20 62 67 | 20 62 74 6e 20 74 68 65 |on of bg| btn the|
|00005da0| 53 68 69 70 29 20 6d 6f | 64 20 32 29 20 74 68 65 |Ship) mo|d 2) the|
|00005db0| 6e 0d 45 78 70 6c 6f 64 | 65 20 74 68 65 53 68 69 |n.Explod|e theShi|
|00005dc0| 70 2c 63 6f 6c 6f 75 72 | 0d 65 6e 64 20 69 66 0d |p,colour|.end if.|
|00005dd0| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |end repe|at.end i|
|00005de0| 66 0d 65 6e 64 20 52 65 | 74 75 72 6e 46 69 72 65 |f.end Re|turnFire|
|00005df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e00| 00 00 1f 80 42 4d 41 50 | 00 00 0e a8 00 00 00 00 |....BMAP|........|
|00005e10| 00 00 00 00 00 01 00 00 | 00 00 00 00 01 56 02 00 |........|.....V..|
|00005e20| 00 00 00 00 01 56 02 00 | 00 00 00 01 01 56 02 00 |.....V..|.....V..|
|00005e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 1f 30 |........|.......0|
|00005e40| 83 03 83 42 83 10 83 20 | 83 22 83 10 83 01 83 20 |...B... |."..... |
|00005e50| a8 84 8f 10 03 e2 21 20 | 20 e1 0c 10 42 e2 21 b8 |......! | ...B.!.|
|00005e60| b8 e1 0c 10 10 e1 5f 07 | 00 10 97 80 e1 0b 10 20 |......_.|....... |
|00005e70| e1 5f 08 80 a8 60 40 e1 | 0b 10 22 e1 56 01 dc 5d |._...`@.|..".V..]|
|00005e80| 80 1d c2 9d 80 0d d0 0f | 80 70 3f dd c0 00 01 dc |........|.p?.....|
|00005e90| 00 05 d8 e1 04 10 10 2e | 01 ee 34 ef 00 06 c1 16 |........|..4.....|
|00005ea0| 7f 80 3f bc 6c 00 10 14 | 30 c1 20 00 02 12 00 07 |..?.l...|0. .....|
|00005eb0| ff e8 e1 03 10 01 1f 01 | 13 01 22 7d 7c 43 07 06 |........|.."}|C..|
|00005ec0| 11 10 54 3d 22 e0 01 fe | 22 09 08 e1 03 10 20 2e |..T="...|"..... .|
|00005ed0| 01 21 53 01 a1 80 60 40 | 43 01 21 10 30 34 06 36 |.!S...`@|C.!.04.6|
|00005ee0| 30 24 08 28 e1 03 10 03 | 2e 0c 0f 44 63 60 43 40 |0$.(....|...Dc`C@|
|00005ef0| 43 01 02 13 10 34 03 13 | 10 24 07 04 e1 03 10 42 |C....4..|.$.....B|
|00005f00| 2e 0a 48 44 22 60 02 40 | 43 01 43 12 50 34 02 52 |..HD"`.@|C.C.P4.R|
|00005f10| 50 34 03 e1 a0 e1 02 10 | 10 2e 20 30 44 30 20 50 |P4......|.. 0D0 P|
|00005f20| 40 43 01 11 00 10 34 02 | 12 10 25 30 20 e1 02 10 |@C....4.|..%0 ...|
|00005f30| 20 2e 40 60 44 20 00 60 | 40 43 01 21 10 30 34 02 | .@`D .`|@C.!.04.|
|00005f40| 32 30 25 18 38 e1 02 10 | 22 2e 62 40 44 22 00 62 |20%.8...|".b@D".b|
|00005f50| 40 43 01 23 0a 28 34 02 | 32 30 25 0a 28 e1 02 10 |@C.#.(4.|20%.(...|
|00005f60| 10 2e 50 40 44 30 20 50 | 40 43 01 11 08 18 34 02 |..P@D0 P|@C....4.|
|00005f70| 12 10 25 0c 1c 32 0f 8f | 80 0d 10 01 2e 81 80 44 |..%..2..|.......D|
|00005f80| 21 20 41 40 43 01 00 09 | 08 34 03 13 10 25 07 06 |! A@C...|.4...%..|
|00005f90| 32 11 91 80 0d 10 20 3d | 01 a1 80 44 20 00 60 40 |2..... =|...D .`@|
|00005fa0| 43 01 21 08 28 34 02 32 | 30 25 07 f8 32 1f 90 50 |C.!.(4.2|0%..2..P|
|00005fb0| 0d 10 03 1e 03 45 23 20 | 43 40 43 01 02 0b 08 34 |.....E# |C@C....4|
|00005fc0| 03 13 10 26 80 80 22 0f | 0c 0d 10 42 2d 01 43 45 |...&..".|...B-.CE|
|00005fd0| 22 60 02 40 43 01 43 0a | 48 34 02 52 50 3a 03 f9 |"`.@C.C.|H4.RP:..|
|00005fe0| b8 0c 10 10 2d 02 12 45 | 30 20 50 40 43 01 11 08 |....-..E|0 P@C...|
|00005ff0| 18 34 03 f3 f0 3b 07 97 | 80 0b 10 20 2d 0c 2c 45 |.4...;..|... -.,E|
|00006000| 3f c0 3f c0 43 01 21 08 | 28 e1 33 ff 00 df 0a 10 |?.?.C.!.|(.3.....|
|00006010| 22 2d 1a 38 4c 01 fe 17 | e8 e1 34 01 f3 d0 09 10 |"-.8L...|..4.....|
|00006020| 10 2d 60 70 2e 38 38 e1 | 15 10 0a 10 01 2d c1 c0 |.-`p.88.|.....-..|
|00006030| 2e 28 28 e1 25 19 18 09 | 10 20 2c df ff 2f 28 28 |.((.%...|. ,../((|
|00006040| e1 25 06 26 09 10 03 59 | 1c c0 20 7f 80 2f 18 18 |.%.&...Y|.. ../..|
|00006050| e1 35 01 82 80 08 10 42 | 39 12 60 30 e1 21 18 18 |.5.....B|9.`0.!..|
|00006060| e1 16 42 09 10 10 38 03 | e3 f0 e2 2a 50 40 08 89 |..B...8.|...*P@..|
|00006070| 20 20 20 c1 20 20 20 20 | 20 20 20 21 e2 2c 60 20 | . | !.,` |
|00006080| c1 20 20 20 20 20 20 20 | 20 20 22 22 c1 22 22 22 |. | ""."""|
|00006090| 22 22 22 22 26 e2 2c 62 | 22 c1 22 22 22 22 22 22 |""""&.,b|".""""""|
|000060a0| 22 22 20 10 10 c1 10 10 | 10 10 10 10 10 18 e2 2c |"" .....|.......,|
|000060b0| 30 10 c1 10 10 10 10 10 | 10 10 10 20 01 01 c1 01 |0.......|... ....|
|000060c0| 01 01 01 01 01 01 08 e2 | 2c 21 01 c1 01 01 01 01 |........|,!......|
|000060d0| 01 01 01 01 20 20 20 c1 | 20 20 20 20 20 20 20 70 |.... .| p|
|000060e0| e2 2c 20 20 c1 20 20 20 | 20 20 20 20 20 20 03 03 |., . | ..|
|000060f0| c1 03 03 03 03 03 03 03 | 80 e2 2c 23 03 c1 03 03 |........|..,#....|
|00006100| 03 03 03 03 03 03 20 42 | 42 c1 42 42 42 42 42 42 |...... B|B.BBBBBB|
|00006110| 42 80 e2 2c 22 42 c1 42 | 42 42 42 42 42 42 42 20 |B..,"B.B|BBBBBBB |
|00006120| 10 10 c1 10 10 10 10 10 | 10 10 80 e2 2c 10 10 c1 |........|....,...|
|00006130| 10 10 10 10 10 10 10 10 | 20 20 20 c1 20 20 20 20 |........| . |
|00006140| 20 20 20 80 e2 2c 10 20 | c1 20 20 20 20 20 20 20 | ..,. |. |
|00006150| 20 20 22 22 c1 22 22 22 | 22 22 22 22 80 e2 2c 12 | ""."""|""""..,.|
|00006160| 22 c1 22 22 22 22 22 22 | 22 22 20 10 10 c1 10 10 |".""""""|"" .....|
|00006170| 10 10 10 10 10 80 e2 2c | 10 10 c1 10 10 10 10 10 |.......,|........|
|00006180| 10 10 10 10 01 c1 01 01 | 01 01 01 01 01 01 e2 2d |........|.......-|
|00006190| 11 01 c1 01 01 01 01 01 | 01 01 01 10 20 c1 20 20 |........|.... . |
|000061a0| 20 20 20 20 20 21 e2 2d | 08 20 c1 20 20 20 20 20 | !.-|. . |
|000061b0| 20 20 20 10 03 c1 03 03 | 03 03 03 03 03 06 e2 2d | .....|.......-|
|000061c0| 0b 03 c1 03 03 03 03 03 | 03 03 03 10 42 c1 42 42 |........|....B.BB|
|000061d0| 42 42 42 42 42 4c e2 2d | 0a 42 c1 42 42 42 42 42 |BBBBBL.-|.B.BBBBB|
|000061e0| 42 42 42 10 10 c1 10 10 | 10 10 10 10 10 10 e2 2d |BBB.....|.......-|
|000061f0| 08 10 c1 10 10 10 10 10 | 10 10 10 10 20 c1 20 20 |........|.... . |
|00006200| 20 20 20 20 20 20 e2 2d | 18 20 c1 20 20 20 20 20 | .-|. . |
|00006210| 20 20 20 8f 10 22 47 42 | 60 00 30 c1 30 00 01 c1 | .."GB|`.0.0...|
|00006220| c0 00 07 07 22 1c 1c 12 | 70 c1 70 00 01 c1 c0 00 |...."...|p.p.....|
|00006230| 07 07 22 1c 1c 12 70 c1 | 70 00 01 c1 c0 00 07 07 |.."...p.|p.......|
|00006240| 42 18 18 0a 28 08 8b 00 | c1 30 30 30 30 30 30 30 |B...(...|.0000000|
|00006250| 30 13 20 13 80 12 02 13 | 08 13 20 13 80 12 02 13 |0. .....|.. .....|
|00006260| 08 13 20 13 80 12 02 43 | 08 00 1c 30 c1 30 30 30 |.. ....C|...0.000|
|00006270| 30 30 30 30 30 89 10 01 | c1 01 01 01 01 01 01 01 |00000...|........|
|00006280| 60 e2 2d 05 01 c1 01 01 | 01 01 01 01 01 01 10 20 |`.-.....|....... |
|00006290| c1 20 20 20 20 20 20 20 | 40 e2 2d 06 20 c1 20 20 |. |@.-. . |
|000062a0| 20 20 20 20 20 20 10 03 | c1 03 03 03 03 03 03 03 | ..|........|
|000062b0| 20 e2 2d 03 03 c1 03 03 | 03 03 03 03 03 03 10 42 | .-.....|.......B|
|000062c0| c1 42 42 42 42 42 42 42 | 60 e2 2d 02 42 c1 42 42 |.BBBBBBB|`.-.B.BB|
|000062d0| 42 42 42 42 42 42 10 10 | c1 10 10 10 10 10 10 10 |BBBBBB..|........|
|000062e0| e0 e2 2d 03 10 c1 10 10 | 10 10 10 10 10 10 10 20 |..-.....|....... |
|000062f0| c1 20 20 20 20 20 20 20 | 80 e2 2d 01 a0 c1 20 20 |. |..-... |
|00006300| 20 20 20 20 20 20 8a 00 | c1 02 02 02 02 02 02 02 | ..|........|
|00006310| 02 e2 2e 01 02 c1 02 02 | 02 02 02 02 02 02 00 c1 |........|........|
|00006320| 32 32 32 32 32 32 32 32 | e2 1f 32 c1 32 32 32 32 |22222222|..2.2222|
|00006330| 32 32 32 32 00 c1 11 11 | 11 11 11 11 11 11 e2 1f |2222....|........|
|00006340| 11 c1 11 11 11 11 11 11 | 11 11 00 c1 21 21 21 21 |........|....!!!!|
|00006350| 21 21 21 21 e2 2e 01 a1 | c1 21 21 21 21 21 21 21 |!!!!....|.!!!!!!!|
|00006360| 21 00 c1 23 23 23 23 23 | 23 23 23 e2 2e 01 a3 c1 |!..#####|###.....|
|00006370| 23 23 23 23 23 23 23 23 | 00 c1 41 41 41 41 41 41 |########|..AAAAAA|
|00006380| 41 41 e2 1f 41 c1 41 41 | 41 41 41 41 41 41 00 c1 |AA..A.AA|AAAAAA..|
|00006390| 52 52 52 52 52 52 52 52 | e2 1f 52 c1 52 52 52 52 |RRRRRRRR|..R.RRRR|
|000063a0| 52 52 52 52 00 c1 30 30 | 30 30 30 30 30 30 e2 1f |RRRR..00|000000..|
|000063b0| 30 c1 30 30 30 30 30 30 | 30 30 89 10 22 c1 22 22 |0.000000|00..".""|
|000063c0| 22 22 22 22 22 c0 e2 1e | a2 c1 22 22 22 22 22 22 |"""""...|..""""""|
|000063d0| 22 22 10 10 c1 10 10 10 | 10 10 10 10 20 e2 1e 90 |""......|.... ...|
|000063e0| c1 10 10 10 10 10 10 10 | 10 10 01 c1 01 01 01 01 |........|........|
|000063f0| 01 01 01 38 e2 1e 81 c1 | 01 01 01 01 01 01 01 01 |...8....|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.